Case in point, you can see Intel really struggling because not only do they design their own hardware but they also make it quite literally with their own fabs. This has resulted in a lot of delays moving to 10nm and beyond.
AMD on the other hand spun out their fabs and now use fabs around the world to handle the actual manufacturing. This frees them up to actually design hardware and innovate at a much greater clip. Heh, they are even going to 7nm.
The same applies with Apple. It is quite cheap to be vertically integrated because you simply don't really have to make anything. The capital investment is quite low. It is something that Sun didn't have the luxury of.