Star Trek: The Original Series
I, Mudd
S2 E8:
A highly-sophisticated android takes control of the Enterprise and delivers it to Harry Mudd.
Starring
Roger C. Carmel, Richard Tatro, Alyce Andrece