The Three Laws of Robotics
1: A robot may not injure a human being/through inaction,allow a human being to come to harm;
2: A robot must obey the orders given it by humans except where such orders would conflict with 1st Law;
3: A robot must protect its own existence as long as such protection does not conflict with the 1st/2nd Law;
The Zeroth Law: A robot may not harm humanity/by inaction,allow humanity to come to harm.
― Isaac Asimov