Unless a whole group of people starts crossing the road all at the same time and holding hands (in which case, well, you can't stop people from committing mass suicide I guess), even a very rapidly moving car should be able to swerve out of its way to avoid a pedestrian walking across a motorway, so long as it detects said pedestrian at a sufficient distance.
If you assume that the self-driving cars talk to each other, then each has access to the sensors of the cars far ahead in front, so even in busy traffic they should be able to detect a pedestrian standing by the side of the motorway and start adjusting their flow accordingly, well ahead of any drunken stumbling by said pedestrian.
Unlike human drivers, cars can adjust their trajectories at high speed with minimal risk of accident.
... assuming perfect weather and perfect street surface conditions.
The laws of physics will still impose lower limits on stopping distances, and pedestrians who willfully cause abrupt stoppages resulting in juries or property damage will have the book thrown at them - by that stage most vehicles are likely to have multiple cameras built in that will help identify the perpetrators of such acts.
Also, as pointed out elsewhere, vehicles will probably call 911 automatically as soon as the probability of an accident spikes.