I'm curious why you think that. I mostly write code for a living and apart from the notebook line catastrophe (I'm stuck on a 2014 model of a MacBook Pro and waiting for something to come out with a reasonable keyboard and perhaps more than one port that I can use), the desktop line is improving quickly. I've been really tempted by the Mac Mini, I would buy the iMac Pro if I could afford it, and now I intend to get the iMac: as it turns out, it's pretty much the only way to get a 5K 27" monitor. I do need 5K to get three columns of code in a full-screen Emacs (4K is fine for two columns, but three is squeezing it).
So my conclusion is exactly the opposite: while I am frustrated that I have to depend on Apple, because seemingly nobody else can get their act together and produce integrated hardware+software ecosystems that work, I am quite happy with the recent direction they've taken.