I am pretty sure laptops (and other computers) are a vanity project for Apple at this point. They need some way for people to be able to write iPhone apps, and the history of Apple kind of makes it difficult to say "buy the latest version of Windows and use our Visual Studio plugin", so they make Macs. But I'm not sure it's a good business decision. The number of people that use a computer outside of work seems to be dwindling. Should probably focus everything on making sure they are using an iPhone, not something else.
The point is that that market is tiny compared to the people that buy iPhones. I also think Apple is doing good things on turning the iPad into a general purpose computing device. For my use cases (ssh somewhere to do work), it is way easier to manage than a laptop, and smaller. I imagine that as the product improves more people are going to make the jump, leaving MacOS in a weird place. (I switched from a Surface Pro 4 to an iPad Pro as my "laptop" and I am much happier. I still use a Windows workstation for everything that can't be done by ssh-ing to a Linux box, though, and of course prefer dual monitors and a mouse when I'm not travelling.)