But I absolutely work on the go, and need the battery life I get from the Mac so I’m not constantly looking for a place to charge.
You can also put a much faster CPU and GPU in a workstation than a laptop, if you have enough headroom for 105W TDP CPU and 350W TDP GPU.
I'm not sure I'd call it niche. No I'm not playing counterstrike in a coffee shop, but it can be fun to bring it over to a friends house. I haven't bought a desktop since 2014, I like having the freedom to work from anywhere and not have to move files between computers all the time. When I have it at home I have it hooked into 3 monitors and a full size keyboard, and it runs pretty quiet, so it's not really any different from having a desktop in that regard.
YMMV though. Most of what I do with a computer even besides games needs a very powerful GPU. If you're working with docker and webdev I'd just get a macbook. My only point is that apple doesn't have a pure monopoly on performance, as impressive as their new silicon is there's some things it's still not so good at.
For mobile computing + gaming I replaced my discreet gpu Macbook Pro with an M2 Air + SteamDeck and I'm enjoying everything a lot more.
I was shopping for a laptop a month ago and considering the M2 MacBook. The CPU performance is definitely impressive, but I ended up getting a Razer Blade 14 because it absolutely decimates the MacBook in GPU performance and gaming related stuff, unless you go top of the line MacBook Pro which would have been about $1200 more and couldn't run most games. If you don't need a great GPU I would definitely go with a MacBook, but if you need one you're just not going to beat an RTX 3080 and an AMD Ryzen.