If only apple products were just expensive. For certain kinds of people, dev-tools/environment and OS are exceedingly frustrating to work with. I don't get why developers put up with it, well, other than the obvious market access.
Then as they see nice income stream - some inconvenience is written off as cost of doing business.
Then it is just not that many of them.