Last time I checked one was forced to buy PCs to develop for Windows, buying Android phones to develop for Android,....
You can compile Windows and Android apps on Macs, Windows, CromeOS and Linux. There's no XCode like restriction and there's not the same OS virtualization restriction that required a hardware purchase.
Forcing you to buy specific hardware and banning virtualization to do builds is not friendly. Cloud builds is a huge pain. You essentially have to rent full macs from MacStadium.