So, you put a UPS on it. If it's that important, put a motor generator on it.
You can't have 100% reliable power from a Utility. It doesn't happen anywhere.
In reality, you rent a power line disturbance monitor and then decide the most cost effective approach to fix it.
I had reliability issues once too and purchased a $1000 power conditioner for a system that pretty much ran 8 hrs a day.
One computer, 16 years, just mechanical problems and dust.
I got it because a computer we relied on before was becoming obsolete (non-PC), The same power conditioner had the same effect. Just dust, fans and 8" floppies. No other electronic failures.
It was not a UPS.
There were other machines that if they lost power for 5 minutes, it took a day to restart. We used a generator UNTIL we had to sacrifice that capacity for ventilation (safety). One safety PLC had to have a UPS, for basically 2 minutes until the generator kicked in. I got grief for the UPS I chose, because I knew that not all UPS's are generator friendly.
I wanted to instrument some other systems, but was turned down, The inconvenience and the number of interruptions in a year wasn't significant even though some of us were inconvenienced.
The fun one was we did an entire analyses of water we were just dumping down the drain and showed that a recirculation system would have been cost effective EXCEPT we didn't directly pay for water, We did cut the water use and used a small chiller for an x-ray tube. This water ran 24/7.
Analyze and pick your battles. Theorizing won't get you anywhere. You can ask the utility, right?
Unfortunately, the bean counters aren't pro-active by nature, but they will be instantly pro-active when some utility bozo, for instance, reverses the a phase to the building by accident. Again, we picked which machines that got 3 phase protection.
I wasn't very happy when I learned that about 5 systems had home-built systems that used the ground as a neutral for an add-on power fail helper. Ans: It's worked for 20 years without problems, It's against the NEC code, but ....
I also wanted to make the system more fault tolerant, but was over ruled. Resources were limited.