> Buy any laptop, stick Linux on it, get working.
Except it's still a slightly different challenge each time to "get it working", each different PC. A Mac is a Mac is a Mac, more or less.
I have a linux laptop on my desk running Kubuntu (a Framework, it's nice, I have it on long long long loan) alongside my Macs, and every now and then I check in with it, make sure I could switch to it if I needed to, do all my important tasks, plug it in so the stupid mainboard battery does not go flat.
I satisfy myself that I can, and then I go back to my Mac, because even Tahoe isn't painful enough to switch and because I personally prefer it. KDE is fine and I'll use it when I have to, but I like my Mac.
Essentially everything I run is not at all "locked into Apple's ecosystem". I would miss the ease of keychain, handoff and Apple Notes (which I like despite its flaws). I would miss the specific way Exposé works, the way full screen apps work that I happen to like, and then I'd deal with it.
I think critics misunderstand the extent to which devs are "locked into Apple's ecosystem". Unless you're writing iPhone apps, you aren't. You perhaps even exist in a more heterogeneous world (Mac and Linux, Mac and Windows, all three, whichever it is) than a Linux-using web dev does.
FWIW my "Apple ecosystem" is why I have been able to teach myself how to use LLMs at a pragmatic level (open weights, open source) because my off-the-shelf kit — actually off-someone-else's-shelf kit, because I buy secondhand -- does an acceptable job of running local open weights without me yet[0] having to specify some big gaming PC I don't have enough use for. A lot of people have solved a lot of problems that I don't have to tinker with too early.
IIRC it was Adrian Cockcroft who said he used Sun at work, and a Mac at home, because performance tuning was his day job and he didn't want to do it at home; I think this resonates. It has been my own choice for 28 years, largely; Mac plus linux.
[0] I will do this, possibly quite soon. That tinkering is coming. But my ordinary Mac was a gateway to it.