Hmm, I have mixed feelings on this one. On the one hand, when I bought a 1st gen MBP back in 2006 (2007?) for a little over $2000, I decided to get AppleCare on the device. It really paid off over 4 visits to the Apple Store. They finally replaced the logic board on the 4th visit (GPU issue I believe). Tired of the endless visits, I sold it to a co-worker. He reported years later that it was still working fine.
More recently, I bought the old-style 2017 Macbook Air. I specifically got the old model to avoid the infamous butterfly keyboard, though the screen is supposed to be vastly inferior (I'm OK-ish with it.) Paid a little under $900 for it in 2019 dollars, so it wasn't as big of an investment as the old MBP. For this machine I did not get AppleCare, due to the lower replacement cost (for the entire machine and parts) and the fact that I bought and installed a bigger SSD. I also think the 2017 MBA is a proven design less likely to fail.