What are these on power supply cables?
They are ferrite beads, and are used to suppress noise from electronic circuits - in this case, they prevent the cable from acting as an antenna (both as an unintentional transmitter of high-frequency noise and as a receiver of noise from the environment).