I think that Apple does a good job of making good chassis but I've watched enough of Louis Rossmann's videos to know that I would never buy one brand-new. I only have a 2015 MacBook Air because I received it and $40 from a trade involving an Oculus Rift S.
Most of my issues with Macs comes with what they've done in the last decade or so. Deliberate design choices to thwart repair. Security measures so intrusive they cause actual owners to lose data more than they save it from attackers, etc.
It really used to be a lot better for repairability, upgradability etc. I like this generation of MacBook because the chassis is great and overall it's a great cosmetic/functional design. I especially love the design of the screen latches. They look very clean and yet still work perfectly unlike any of my HP laptops of this era, just for example. The keyboard is excellent and backlit, and the touchpad is actually tolerable and a good size, which is uncommon on machines of this era. It has a lot of IO (FULL SIZE DVI!), is decently repairable/upgradable, the major parts chosen by Apple are good etc. Its not perfect, the speakers and screen aren't great but not was most laptops at this point.
I really hate macos as a whole, and especially the useless versions supported on this device. But since it's Intel I can slap Windows on this and be done with it.
The chassis, that is. Some of their design choices regarding the hardware is very bad. They have designed bad screen ribbon cables that fail and flex connectors with the 50 V screen backlight power contact right next to the data contact, just to name a few.
Oh I absolutely agree, I was just saying overall they tend to last the length of software support.
Butterfly keyboards feel terrible and are a horrible design. The backlights seem to die far more than on any other brand, often a cable or shorting issue. Old ones had bumpgate failures, logic board issues, etc.
I think as a whole the iMacs are the most reliable, but they also don't get moved dropped etc. the 3.5in HDDs they used in those till like 2020/2021 were disastrously slow drives when new and they like to die all the time, but it's an easy upgrade to solid state at least.