The whole integrated/shared thing has been going back and forth in different industries at different points in time. Apple has been getting more and more integrated recently whereas earlier wisdom in PC industry was to use shared components.
Musk is betting that it's time to integrate the automotive industriy. If he is right, Tesla will balooon to the size of Apple. The electric part is not the most important here.