Because they wrote and own the software you are interested in licensing. If you don't like the license, don't run the software.
Microsoft has the leverage that open source projects like Redis and Elastic wish they had on AWS (and why those open source projects are updating their licenses to combat AWS' profiting off of their work).
As someone else has mentioned, Apple restricts how and where you can run OSX/MacOS. I don't think thats going to stop people from using OSX/MacOS out of principle (typo corrected).
If they stop people making money from it, it's not open source any more.