Yes, but my point is that the consumers vilify the pedestrian. Let's not even get into the cyclist.
Don't remind me; yesterday's discussion[0] about dooring was among the biggest shitshows I've seen on Hacker News. There's something Godwin-esque about online discussions concerning the relationship between cars and bicycles.
What about the "swerve off the road into crowd to avoid oncoming truck" case?
The AI should be much better than a human at avoiding it, and the truck should be AI controlled too. In cases where something like a physical failure that is so sudden the truck can't warn nearby AI driven cars I doubt the car will be able to react, AI or not
This is just defining away the problem, though. You're not going to be able to orchestrate a flag day where every vehicle on the road changes from Level <= 3 to Level > 3, so Level 4 and 5 vehicles are going to be sharing the road with simpler vehicles.
While those cars share the road I expect the cars to protect their occupants. If a car was on a one way street with people on both sides and a truck barreling towards a head on collision I'd expect the car to try and swerve and possibly hit people on the way towards swerving, but stop as early as possible. I'd expect humans do that, not out of selfishness but out of reflex, and I'd imagine AI could perserve more life than a human doing the same (and not have to rely on reflex so that even in situations where the human might panic and hit someone on the sidewalk it would manage to stop if needed)