Not familiar with the thought experiment known as the Trolley Problem? Here’s an explainer:
For the longest time, the Trolley Problem was considered an abstract philosophical brain-teaser without any practical applications, but the prospect of autonomous, self driving vehicles changed that. For more about this change, see this Atlantic article: Would You Pull the Trolley Switch? Does it Matter?