@NPC82 claimed that the car would never need to decide to hit anything. And I disagree.
Just because braking is the obvious "right answer" doesn't mean that there's nothing to decide.
Modern cars have electronic stability control, which allows steering even while braking hard. In fact, it would be irresponsible for an autonomous car not to consider exercising that option in addition to braking. But as soon as it considers steering, it needs to decide what (or whom) to aim for.