Sorry, youre completely wrong. Apples revenue stream from software is minor compared to their revenue stream from hardware. Apple gives away most of the software they publish including their operating systems and most of their productivity apps, and provide free updates as a service to their customers who buy their hardware.
The 30% sales commission Apple collects on third-party apps in the iTunes App Store, when you account for the better than 75% of apps that are FREE, covers costs of maintaining the infrastructure and operation of the App Store, which is there mainly to provide apps as a benefit for users of Apple hardware. . . so that more people will buy more Apple hardware in the Apple ecosystem. As of the tenth anniversary of the iPhone, Apple has distributed to independent app developers over $70 Billion for the apps those entrepreneurs have created and sold through Apples various App stores around the world.
On the Mac computer side, one is free buy software from anywhere, but software on the Mac App Store is certified safe. . . and there is a lot of free stuff there as well.
Incidentally, you can run all Windows software on a Mac if you desire.
Apple is not a software company.
Show me a phone that runs iOS that isnt sold by Apple. Also, how much demand would there be for an Apple branded smartphone that ran Android, Windows, Symbian, etc? Zero. You dont pay more for inferior hardware without a good reason: software company. QED.