Instead of an UPS I would recommend a high-quality PSU that can manage some surges and spikes, maybe a multiple socket outlet with overvoltage protection, and an insurance (not warranty or such) that covers the whole building burnt down, with all your stuff and the neighbour's stuff inside (and maybe a neighbour or eight), and that also covers the costs arisen from the fire run (dict.cc at work here). But that's just my opinion based on living in Germany.
Since I live in my own place (more than twelve years now) there was no non-scheduled blackout and even with an ►electrical substation (which looks like ►this in my corner of the world) within 30 meter of my apartment I'm waiting for a thunderstorm crashing my PC. Circuit breakers did their job when my cheap electric kettle died, and my wife's PC became unstable when two capacitors were dried out, but that was it.
Several trips to South-Brazil and talking to tech-savvy people there told me modern electronic consumer hardware is even more robust than I thought—and I never used anything for electrical grounding since I installed my very first Sound Blaster-compatible back in 1993. 110 or 230 Volts, 50 or 60 Hz? Doesn't matter. Your gear plugged in when the power comes back? No problem, anymore. Back in the 70's my uncle tinkered something with contactors that kept your stuff disconnected from the grid after a blackout until you hit a switch, to prevent it from damage due to the spikes … But that was over 40 years ago and in times of centrally planned economy.