Flash Gordon
The Fortress of Fear!
S1 E21:
Ming's imperial palace becomes a battleground when Flash reprograms a factory to turn out rock warriors with minds of their own.