For the same reason as macOS games must be build on Apple machines, iPhone and iPad applications must also be build on Apple hardware. There is an entire market of companies that rent out "server farms" of MacMini's in datacenters for this exact reason. It massively raises the cost and complexity of a modern development/integration system to have "special snowflakes".
As it comes to hardware, the problem is you can't get something "reasonable". You can build a $500 Windows compatible PC that's not half bad. You can stick a low in Nvidia RTX card in that (for a few hundred more) and get some really reasonable gaming performance out of it. However to get an RTX level gaming performance out of a mac... you're out however much it cost to buy the new MacPro... so let's call that $10k. Most normal people are not going to pay that.