The only hedge against that is the ecosystem for phone & ipad development is still the macbooks - so it does hurt Apple to take away the ability to write your own apps on a Macbook.
I got a new ipad this week and it is pretty clear that 99% of my non-work life can be lived on it - banks, games and all the streaming apps. I don't have any more collections of DVDs, games or music.
Even writing/drawing is better on a device which I can pick up and sit in a chair to read like a printed document, now that usb-c lets me plug it into my existing setup for screens when I do need a bigger screen.
At any rate, never say never, but I would be surprised if Apple releases a version of macOS that runs on iPad hardware, even if it's running in a lab somewhere in Cupertino. I've been half-seriously predicting an entirely new operating system built around Swift and SwiftUI that replaces both iPadOS and macOS down the road, but I don't think that's in the near future -- and stuffing macOS on the iPad in the interim just seems implausible to me.
For example, the Surface Laptop Studio form factor in MBP form would be really nice.
I'd like to use the iPad form factor for managing photos and reading books. But when I've used an iPad, I usually end up wanting a keyboard, so I add one, then I realize I have a MBP that can't do as much.
So to me it makes sense to take a 13" MBP, add touch to the screen, and hinge the screen in such a way that it turns into a thick tablet.
And there are any number of ways around that. "Developer mode" iPads that run Xcode and a Unix shell and that start at $5000, or a web development environment that does builds on Apple's servers, or just release the internal Windows/Linux Xcode versions that they almost certainly have.
Fortunately Macs are currently too profitable for them to kill, but that can change quickly.
He is the one responsible for Azure and cares far more about Microsoft 365 and getting their services onto as many platforms as possible. So use your Mac long as you're using Word, Outlook, Teams etc.
I wonder how much money Microsoft could save if they simply maintained Windows with the minimum effort possible, instead of spending all this extra effort doing horrible things to it.