I also once had a problem with a new MacBook Pro (probably bad memory). Went to the Apple Store, I could either get a (new) replacement or my money back, no questions asked.
I used Android for a while when Motorola was a Google company and a brief period after they were purchased by Lenovo. My Moto X 2013 had spontaneous reboots, repair took one or two weeks and afterwards they wouldn't tell me the problem was. After a year or so, the Moto X started cracking spontaneously. I also purchased a Moto 360, which spontaneously cracked as well (known problem). Repair took one week, but the package disappeared in delivery. It took them two months (!) to send me a new Moto 360. Then there was the horror of the incredibly buggy Android 5.0 release on the Moto X 2014, which had a memory leak that killed background apps all the time.
Despite the removal of the headphone jack, I switched to an iPhone 7+. Had an issue with touch id, and they just replaced the entire screen for free while I hung out at the mall.
Between the privacy moves Apple has made, along with their awesome support, I can't see myself switching back.