Without really knowing what the issue is with the mains it will be difficult to know for sure what you really need, and as Macca said, you may have just had bad luck with the hifi gear that went pop.
However, if it is voltage fluctuations then this looks interesting https://www.tripplite.com/230v-autom...plug-in~AVS5D/