maybe this is a joke, but really, no. Car AIs don't encounter trolley problems, because the trolley in the trolley problem is ALREADY out of control and unable to stop (besides the turning lever). If the Car AI is in a situation where it might lose control of the car, it should decide that it isn't safe to drive. Asking a car to be altruistic means the car is making value judgements about what's better to hit, which means there's a mode where the car decides to hit something. The car should not be allowed to decide to hit something, or even swerve wildly out of the way. It should drive at a slow enough speed that it can safely stop for reasonably encountered circumstances. And if someone teleports in front of your car, it should just try (and fail) to stop in time.