
Knock it off.
Fact of the matter is unlike the objects that followed a preset path, be it a table with a few glass's of wine programed to turn 90 degree after 3 feet, then another 90 after 6 feet, to stop for xxx abount of seconds, has and is possible.
Now when someones add's say, a few billion "gears" to said object "in the form of code" it not had a choice, now add sensors and other devices, and the data being fed into said machine will dictate how* that object functions.
Now put all of that into a machine that is pre-programed to "save itself, no matter the cost, even if it involves killing/terminating/destorying whatever is trying to do it "harm". Then tell it to target and attack other "moving human shaped objects" and you have a killing loop. Something that is programed to kill kill kill kill kill, till some 4 star general enter's in the "stop" command/number.
As far as skynet* go's imagine something that is taught the same, kill kill kill, save yourself. And its the 4 star general and doesnt give a good gosh dang about issueing any "stop" command. "side note"
Figure it.