I haven’t had a single switch die since getting Ethernet surge protection between the modem-router combo and my switches.
I haven’t bought a UPS in a while but last time I did it had Ethernet protection but only supported 10/100. You may have to get a standalone data surge protector to get gigabit speeds.
I know it’s anecdotal but I used to have to replace my router or router/AP combo every 12-18 months.
The first router on the Ethernet protection ran for two years and was replaced because I wanted 11g
All the routers since then have lasted at least 7 years.
Maybe it’s snake oil, maybe not, but it seems to work for me.