I have a college aged brother, and Microsoft currently owns GitHub, and is providing the linux subsystem, which is a huge signal that "developers are welcome." His whole generation is developing on $300 Dell laptops and it's easy. Mac used to provide that, but you paid for it.
* I need to develop for this shitty platform, which I hate, because my customers are on it
* I want to develop for this awesome platform, because I just love it and my customers are also on it
If Apple loses touch & favor with developers, their platform will slowly but surely die out over a decade or two. Apple is expensive, the only reason for Apple to even exist is because they deliver quality products. If they ever go down the road of consistently failing this core value, they will die more quickly than reindeer thrown down a cliff.