Negative kW means one of two:
1. Energy goes back to the network.
2. Wrong connection or setup.
Normally UPS cannot accept regenerative energy, so I guess it is some way of wrong connection.
There is another option which is that your meter is confused due to the high amount of harmonics.