This is why I always go with Apple. I've always just walked in, yeeted my phone at them and gotten a new one. I've had four warranty issues since my original 3GS and every time the experience has been pleasant. I've also had an AirPod replaced when it no longer kept charge and was within the warranty period. The same has also applied to other family members who have had failing devices and Apple always replaces them…
Here's something I noticed: the fans of Apple hardware know they can do this, because they... have to do this. I've had 9 or so different laptops in my life over the last 2 decades, from bargain bin models to latest high-spec Lenovo. The only times I've had to fix a laptop was twice in the last 3 years on work-assigned MBP (once the motherboard failed, another time the keyboard fell apart), then had to replace a fail…
I suppose some people have been unlucky with Apple hardware but it's maybe also due to the perceptions and that seemingly everyone (at least in IT and development) is using a Mac these days.