Let's not compare apple to a public institution. What apple does is in the interest of the shareholders and nothing else.
Honestly what is with this attitude? Yeah, I get it.. you took a business class and learned that everything a company does should be to maximize shareholder value.
But welcome to the real world. Sure the company wants to make money, but they also want to provide a valuable service. Yeah sometimes making money gets in the way with the best product they could offer.
But it's people making the decisions of what to make. It's people who use the software (let's say osx/ios) that want to make it better. It's developers who sit there are think how can they improve this feature so it's great for people.