I had one issue where I needed to ship it back: it would reset and then it was running off the battery, and no matter what port I plugged a charger/docking station into it wouldn't charge until I powered it off and back on again. I got them to do a replacement under warranty a couple years ago.
Around a month ago it was doing the reset fairly frequently and then wouldn't power on sometimes, and I noticed the wrist rest was a little bowed. I replaced the battery pack (kind of a pain, but not the worst I've done), and it was good for around a month, but now it has that "won't charge the battery" issue again. I believe when they did the previous repair they replaced the motherboard, but now I'm out of warranty.
For my next laptop I kind of want a Framework, so I can replace the mobo if I need to. My work likes us to replace hardware no more frequently than every 5-6 years, but we get a warranty for way less than that (my laptop I pushed to get a 4 year).
Meanwhile my previous Thinkpad T470s is still going strong, though the screen just developed a line through it. That's ~10 year old now.
My personal 4 year old Macbook has been a real workhorse, never had any hardware issues with it. My son's macbook has been another story, he's had that in for service 4-5 times in the 3 years he's had it. But, I suspect that is more him than the hardware. I don't baby my MBP, but he is just terrible with things. He's lucky if a pair of glasses can last 6 months, ditto with a phone (usually broken screens), so I'm not sure I can blame the MB Air...