I know many newer machines (like the Dell XPS Studio) are sensitive to power inputs that aren't pure sine wave or close to it. Is that also the case for the 2017 iMac?
I think there's a lot of voodoo and superstition involved with UPS's driving computers.
.....it might whine, or at worst, fail to start up.