If you're the sort of person who believes any and all business is merely a way to make profit and nobody who creates a company ever actually cares about the task they perform, then sure. Reality is more complex than that.
Re: China. iOS is in the minority in China. Even at the time of the iPhone 6 launch iOS market share was only 20%, but iOS market share always spikes around the time of a new iPhone launch, then falls back down in the other quarters. And China is a special case - Google isn't willing to play ball with the communist government so the services that make Android most useful are all blocked there. Apple cooperates so they can sell iOS as is, getting a built-in advantage. Despite this, Android still dominates.