They absolutely do not want their developers to mass migrate to another platform. Walk into any SF startup and you'll see 100% Mac laptops, except for the Finance guy who needs Excel on Windows, and that one dev who insists on Linux, and all those devs build webpages that work on Safari, and iOS apps before they (maybe) eventually get around to making an Android app.

Apple is highly incentivized to keep devs on Macs, even if it turned out to be a loss leader for them.