I've bought maybe a dozen macs in the last 15 years (for myself and the family) and while some have lasted many years without issues, some have died on me on the second or third year.
Because the initial investment is so high you're practically forced to add extra Apple Care to protect it because there's a 20-30% chance you will have problems during those first years.
And don't get me started on design issues and recalls which take years. When my 2011 MBP died because of Radeongate it took Apple 2 years to start a recall and replace the GPU. The honest thing to do would have been to take the machine and offer 60% of its value in credit towards a new Mac. Instead, Apple replaced the GPU on a machine that was already a couple of gens behind and I couldn't sell without practically giving it away because (rightfully) nobody wanted the 15'' 2011 models. That MBP was probably the worst investment of my life.