Of course large commercial gas/diesel generators will regulate the power sufficiently, but that's not what we're talking about here, I thought we were discussing the small portable generators.
As for why you would use a UPS with a generator, how else would you keep critical equipment running...