I don’t know if it also happens to you, but I always have this fear (not only the equipment but also the whole freaking house).
I have two Synology NAS devices and one “custom” server (just a PSU, a Ryzen CPU, two RAM sticks and a SSD).
Everything is grounded, on a compliant safety electrical installation, but I don’t know… I’m maybe paranoiac by nature.
My biggest doubt is about the PSU. It is a certified PSU (from Be Quiet! IIRC), that has more than enough power (500W).
Get yourself a couple of these. Put them near utilities and equipment. Only activated by fire.
https://www.passivefirewarehouse.com.au/the-fire-ball-by-ELIDE-FIRE