my friend bought 5700xt before mining craze he is only using it for gaming while i also have 5700xt use for mining. mine still alive and kicking while his 5700xt broke down after warranty. just sharing.
There can be many reasons for a broken video card. Stupid people buy gaming computers in small cases because they are beautiful and compact, but the graphics card gets very hot there. And if this PC is not cleaned and listened to for several years, then breakdowns are possible. And miners monitor the temperature of the video card, so their equipment works for a long time.
I don't think the lack of maintainance of a PC case is the reason why GPUs fail. They generally usually only fail due to a manufactuering defect. The only component that a bad case can have on a GPU is the fans can die quicker because they spin faster and longer. On the bios there are safe guards to shutdown the GPU if the temperature gets too high or start throttling.