ah yes, Landru, from the original Star Trek. Landru was a computer, as I recall, which projected an image of this man, and controlled the robot like people of that planet.
Though he set them free for a “festival”, where they would riot and get wild and crazy.
Oddly enough, that episode was on in my locale this week, lol.