Lion share of Microsoft's revenue comes from office and corporate/business users (over 70%). They want you to use MS Office and Active Directory, and offering Windows in the cloud is a smart way of making sure you stay in their revenue-generating ecosystem no matter which device you prefer. In addition, office/business work is well suited to remote computing, since display updates are rare and the latency of data transmission over internet can be tolerated.
Appel however wants you to use their physical devices. They care less about you running their OS itself, they want you to be part of the experience they set up by matching hardware and software features, as that is where their profits come from. Services like iCloud, the new Xcode cloud make perfect sense, since they add value to the seamless "Apple magic" and allow you to use your device more comfortably. But the experience is still focused on you and the device in front of you. I am not sure how macOS in the cloud fits in here as it won't be able to deliver that low-latency user experience Apple wants to be known for. Take video editing for example. Current M1 Macs are excellent video editing machines, because their memory architecture allows them to say super responsive while working with high-res content that brings nominally faster machines to their knees. You just won't get the same experience from the cloud computing: bandwidth and latency are simply not where you want them to be.
I can imagine some sort of "compute server" in the cloud, where you app runs locally on your Mac but will offload the data to the Apple server to have it processed there, but again I am not sure how useful that would be. Data transmission would probably take longer than the time you'd save from using a more powerful cloud machine, so that leaves you with only a few very niche workloads.
Anyway, that's just my thoughts. I don't claim to be any kind of authority on these matters.