Classic Doctor Who
The Macra Terror
S4 E27:
The Doctor arrives with Polly, Ben, and Jamie at a strange colony whose inhabitants are brainwashed into working in dangerous gas mines for the Macra, a crab-like alien race.