Under the direction of a madman, the robots continue their rampage as the Doctor finds an unexpected ally.