You can use what's called a slip ring to transfer data and power to a moving head. There are quite a few lights that sport this feature. The most popular being the ACL 360 by Elation.
Nice Video, I have an query How can we move beam as circle or any other shape using dmx pan tilt value curve ? or is there any built in method for the same ?