That was one of the Isaac Asimov robots, wasn’t it. It wouldn’t LET you sacrifice.
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 Laws.
"..But...but...if I avoid the bicyclist in my lane, I will drive my owner over the cliff, and if I do nothing, I hit the human on the bicycle...no matter what I do, a human will be harmed..."