I can comment on the second portion of this issue- never run Cat cables in parallel with electric cable.
You are forcing low voltage and high voltage cables to share their electromagnetic field. That’s never a good thing. It can lead to unstable connection all the way to frying your Ethernet card.
Forget the devices -- the risk is to people. If the insulation fails on the power cable and your network cable is insufficiently insulated, then your network cable could end up live. People generally avoid playing with hot power conductors, but no one takes any care to avoid touching network cables or, for that matter, the devices plugged in to network cables.