It costs millions for a backup generator.

Must be a HUGE facility! I note a decent 30KW dual power whole house (and that's a VERY BIG house!) generator can be purchased and installed for less than $20,000. And that will easily support the whole house AC, washer and electric dryer, electric hot water heater, fridge and separate deep freeze, multiple TVs, multiple computers, toaster, coffee pot, stove/oven, MW oven, lights and more.
Now that is nothing compared to large data centers which can consume as much as small towns. I note R&D is going on right now to use
SMRs (Small Modular nuclear Reactors) to power large data centers!
Of course backup generators don't have to support entire buildings. They can be wired to just support a server room and emergency lighting, for example, thus requiring a smaller gen. Many setups have only 1 or 2 outlets per room supported. But then you start getting into more complex wiring with this circuit supported and that circuit not - so soon, the labor costs far exceed the hardware.
A 1500 VA UPS should indeed have about 2-3 mins of runtime with that PC under full load (my rough estimates).
Very rough. 1500VA will support that PC, even under full load, for considerably longer than 2 - 3 minutes - assuming good batteries. As I noted earlier, the 1500VA UPS on this system (including 2 monitors, the modem and wireless router) will provide an estimated 42 minutes of run time. If I ramp up demand by running a stress test, I still have over 20 minutes.
But once again, the plan should NOT be to keep playing ones game. So as soon as the power goes off, gaming should stop and shutdown process started. Just the act of stopping game play will put the computer's power consumption closer to idle than full load.
Also, while power outage can occur on a clear sunny day, most are during severe storms - when folks should not really be playing games anyway.