What films like Terminator and I, Robot have in common is that people are stupid enough to put all of the worlds robots under the control of a single master robot. The master robots malfunctions and takes over the world. In the real world, combat bots have multiple safeguards, and no one bot is ever given control of all of the other bots.