You might be interested in reading the book “I Robot” by Isaac Asimov, which is a collection of short stories examining different variations on this question.
But spoiler alert the robot would choose the action that in it’s own reasoning would cause the least injury to humans, and if it couldn’t stop injury would probably damage it’s positronic brain in the process.
Speaking of books that start with “I” and were made into Will Smith movies that weren’t really anything like the book at all, I am Legend is also worth a read.
You might be interested in reading the book “I Robot” by Isaac Asimov, which is a collection of short stories examining different variations on this question. But spoiler alert the robot would choose the action that in it’s own reasoning would cause the least injury to humans, and if it couldn’t stop injury would probably damage it’s positronic brain in the process.
Yeah I saw the Will Smith movie. Basically the same right? Probably.
The movie is completely different. Some of the themes and characters match, but the book is just a collection of short stories.
Speaking of books that start with “I” and were made into Will Smith movies that weren’t really anything like the book at all, I am Legend is also worth a read.