Aside from the first batch of Xbox 360s, Xbox hardware in general is more reliable than PlayStation and the Series X is a masterpiece of hardware design and reliability, no coil whine, quieter fans, better performance, smaller size, and a cleaner look in comparison the PS5's design is kind of a joke and its reliability is questionable at best, overheating has been a common issue and some consoles even got bricked because of liquid metal leaking onto the motherboard If you place the console in a vertical position
Out of the three PS5, Series X/S and Switch, Xbox controllers have fewer problems in general