I would strongly advise against using either of these on a UPS, especially the ceiling fan.
A UPS is only going to run <10 minutes. You're not necessarily going to notice the fan stopping for that short a period, and the power is unlikely (depending on what's causing the power failures) to be back on by then.
If you must have ceiling fans, you need a generator.