Or haven't been implemented into the current crop of AI. And there are four laws, with a Zeroth law being added regarding mankind.
The Four Laws of Robotics:
(1) a robot may not injure a human being or, through inaction, allow a human being to come to harm;
(2) a robot must obey the orders given it by human beings except where such orders would conflict with the First Law; (3) a robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
Asimov later added another rule, known as the zeroth law, that stated “a robot may not harm humanity, or, by inaction, allow humanity to come to harm.”

"THAT was the equation! Existence! Survival... must cancel out programming!"