Probably the only thing that would really work is a (in your case BIG and therefor rather pricey) UPS. An UPS is an Uninterruptable Power Supply. There are two kinds. The simpler ones just augment the power needed, i.e. try to keep a steady 110/220V (depending on where you are in the world) and usually offer some surge/spike protection (different things, surge = a sudden burst of EXTRA power, spike = is a sudden peak in power. The latter can be caused by equipment turning on and such, the first is usually a fluctuation in the grid).
There are also UPS types that power your equiment from the batteries, at at clean spike/surgeless steady voltage. At the back end it takes in power to charge the batteries. So if anything happens, it happens at the battery charge side and doesn’t cross over to the “live equipment” side. And you have the added bonus that your equipment keeps running even during a (short) power outage.
Again, the are big, bulky, rather expensive (specially the larger ones which you’d need) and often pretty loud due to ventilators cooling the thing.
Greetinx,
C.