I guess I'm asking more if Microsoft was allowed to charge anyone that built/builds a program for Windows. By your logic, they should be allowed to, because Apple OS/Linux exist.
Now that Apple OS for desktops/laptops is more widely used and Microsoft doesn't have complete control of the OS market, could Microsoft start charging software makers that wanted to provide content on a Windows machine?