They're thoughtful works of sci-fi, not "laws"
The debate is wholly useless, such technology is a long way away, unless you consider things like self driving cars. And what's actually going to happen when someone gets run over by one? Big media debates and ;awsuits I guess. They're hardly going to destroy the resonsible car like they would a violent dog that just mauled someone.
As for the "will they take over" nonsense, a rominent "OFF" switch on any machine that oses a risk should be enough. If you deliberately made autonomous killing machines and sent them out into the street, then that's about the only way anything really bad could hapen, and it doesn't sound like a great idea to me, nor I susect anyone else. If we see AI robots over the next few years they'll probably be picking your online shopping a bit more efficiently.