I remember reading a science-fiction story way back in the Fifties about an army of practically indestructable hunter-killer robots. When the war was won, one of the robots malfunctioned. It couldn't tell friend from foe, and it couldn't be shut off.
Don Firth