I, Mudd

The Enterprise is taken over by a group of androids who are working for Kirk's old nemesis, Harry Mudd.