And to the extent that is an issue: they're going to kill the pedestrians, save the occupants of the car. Like every other driver.
In a reimagined version of the trolley problem—an ethical thought experiment that asks whether you would opt for the death of one person to save several others—the researchers asked participants on its viral game-like platform decide between two scenarios involving an autonomous vehicle with a sudden brake failure. In one instance, the car will opt to hit pedestrians in front of it to avoid killing those in the vehicle; in the other, the car will swerve into a concrete barrier, killing those in the vehicle but sparing those crossing the street.