Star Trek: The Original Series
I, Mudd
S2 E8:
Kirk encounters old foe Harry Mudd (Roger C. Carmel), now apparently the monarch of a world populated by androids.
Starring
Roger C. Carmel, Richard Tatro, Alyce Andrece