The Mechanical Men
S2, E28: A band of tiny robots - who worship the Robinson's Robot as their leader - surrounds Dr. Smith and forces Smith and the Robot to switch personalities.

S2, E28: A band of tiny robots - who worship the Robinson's Robot as their leader - surrounds Dr. Smith and forces Smith and the Robot to switch personalities.