If you’re a fan of classic science fiction, you may be familiar with Asimov’s Three Laws of Robotics. If not, here they are:
The First Law
A robot may not injure a human being or, through inaction, allow a human being to come to harm.
The Second Law
A robot must obey the orders given it by human beings...