I suspect it's mainly because mains power is usually uninterrupted and UPSes are expensive and unwieldy , and therefore not suitable for normal customers making default PC purchases.

If your mains power is routinely cutting out, there's nothing to stop you buying your own UPS for your machine.