It's hard to imagine that UV light intense enough to kill pests wouldn't also harm the plants. I believe they're intended for sterilizing things like water that you are going to then use on the plants.
I remember when I was a little girl there were some public restrooms that had UV lights that you flipped the toilet seat up into that were supposed to sterilize the seats. I have no idea whether it worked or not but it sure was fascinating.