I've been using Linux since the late 90s. It's amazing, and it's been my bread and butter my entire career. That said, I also really like Apple's stuff for some really pragmatic reasons.
* Macs are the closest "mainstream" thing to Linux. For the first half of my career, I wrote most of my Linux-targeted code in Windows because my companies wouldn't even consider anything else for corporate desktops. Talk about frustrating!! Over time, they became convinced (begrudgingly at first) to allow Macs, which at least is unixy enough to make life a lot easier. Non-tech people just like 'em more, cuz they're pretty and easier to use. Once they had the foot in the door, lots of people wanted them, and they became pretty standard.
* While my main developer workstation is a kickass Linux workstation, I do still keep a kickass Mac on my desk as well. I find that it just does some things better: Media, "office" tasks, Zoom, proprietary software that doesn't support Linux, and development tasks for projects where the usual workflow/scripts assume you're on a Mac. When I'm not using it, it makes a nice jukebox. :)
* The hardware lasts *forever*. When it starts getting long in the tooth for MacOS, you install Linux on it. I'm still using 2012 Mac Minis running Ubuntu as a Kubernetes cluster. My 2015 Macbook Pro runs Linux Mint like a champ after a simple battery replacement several years ago. Seriously, I almost never throw the stuff out. So what do I do? I buy high-spec'ed hardware when I get it, and spend the money on it, because I know I can reasonably expect to still be using it in ten years. I upgrade my high-touch machines every 3-5 years, and the existing machines go to family members or my server cluster for a second life.
I know MS has changed their stripes somewhat over the last decade, but as an old timer who saw their antics under Ballmer and Gates, I still struggle with considering Windows or its ecosystem for anything at all. It might be better in some ways, but old habits and prejudices die hard, I guess, so, for me, it's not even in the running.