Yup, there's no way to regulate robots since they can only be programmed to follow laws. So, you have to rely on all programmers being ethical programmers... and we know that's not going to happen. Interesting times. And, when the robot can reprogram itself... all bets are off.
Argueably, Asimov's 3 laws will be broken the first time one of the android powered rifles kills. It's a matter of time if it hasn't already happened and we just don't know it.