Stargate SG-1
Tin Man
S1 E18:
The manipulative caretaker of a poisoned planet turns the members of SG-1 into robots, and they must figure out how to be turned back.
Stargate SG-1