You seem overly pessimistic about autonomous driving software; it seems to me like Google's driving software could easily already be at a point where it might be able to consider the choice between hitting pedestrians crossing the street, or purposefully crashing the car.
It's my understanding that Google's self-driving car technology as shown to the public, cannott currently handle a crew repairing potholes without advance notice, or drive to an arbitrary location using a route that hasn't been pre-run to record navigational waypoints.
In other words, the disclosed technologies can drive in areas for which extremely large amounts of data have been collected and only so long as conditions have not changed. If a new traffic light or stop sign is installed, the self-driving car is likely to miss it.
There may be secret sauce in the lab, of course.
As a general approach, I can certainly see assistive driving algorithms making decisions about whether to veer off the road vs. possibly hitting something ahead, i.e. how do you prioritize staying in the lane vs. avoiding a known/likely collision. One implication is that you'd sort of like to know what "off the road" means in a given location.
And what happens if you have an out of date map and the car thinks its swerving into an empty lot - but its now a kids playground.
It'll be interesting to see what happens the first time a self-driving car fucks up and ploughs through a bus queue. Who would be responsible? The "driver" who was chilling out reading their kindle? The manufacturer?
Presumably it depends on what "self-driving" means in the context of that particular car and what the laws are. Today, "self-driving" cars are legally just assistive technology like cruise control and you're responsible. If you have an accident while texting you're in pretty much the same situation as if your car didn't have those technologies.
Presumably at some point we have cars that can legally operate fully autonomously (under some defined set of conditions) and the driver would not be expected to be in control. In that case, I'd expect in that scenario there would be a lawsuit naming the manufacturer among others.
We do seem to be rapidly heading toward an "interesting" place where assistive driving technologies are good enough that a lot of people realistically won't pay attention while driving (given that plenty of people text and use their phones even without such technologies).