The problem is investment in old software and hardware drivers is often obsoleted by Apple without consideration. Have an old copy of Adobe? On Windows, it'll probably run forever. On Mac, you're fucked. It won't run on Linux (properly), but at least supporting open source alternatives indefinitely is possible. How about old hardware? I have an ancient Creative EMU 0404 USB audio interface with two XLR inputs. After El Capitan, forget about that old (64bit intel!) driver still working. On Linux or Windows? No problem. It'll probably run as long as the thing still works.
From a hardware standpoint on the Mac line, Apple is flailing. Mac Pros are generations behind. The iMacs and Macbook Pros are supposed to be for film editors and photography / design creatives, but don't even ship with 10bit color HDR LCD panels. They lock you into hardware configurations that are next to impossible to upgrade out of. And give no flexibility to support common pro applications. It's Apple's way or the highway. I mean, why not buy Final Cut Pro X and Logic? Who needs that stuff the whole rest of the world has standardized on already.
I like MacOS. It's pretty good. There's bash and python and what I don't get out of the box I can add with homebrew. And there are some commercial apps I'm absolutely dependent on still, which I wouldn't have with Linux. In particular, Scrivener, MS Office, and Adobe. But if I have to buy these things again - particularly Adobe, Linux and Windows here I come. Lack of Adobe plugin availability on Mac is a real downer.
Apple is so focused on selling iPhones and iPads, they simply don't care about customer needs any more. It can be a damn nightmare to get real work done.