"It cannot be both great that Apple doesn't outsource its retailing and great that Apple outsources its components production."
Why not? Outsourcing isn't always good or always bad.
Economically, Apple should do the things it can do well (software, design, retail) and outsource the things it can't do any better than anyone else (component production, assembly).