If you have a 3-dimensional model, with a finite number of axes to move upon, any movement towards the vehicle from another vehicle, no matter what it is, can be enumerated and mathematically modeled.
Once that has been done, it is a matter of programming the autonomous car's probabilistic response to the oncoming collision.
You think that most people significantly underestimate the complexity of solving this problem - I'd argue that, no, figuring out how to maintain satellites in orbit is more difficult than modeling every possible 3-dimension interaction between two, four, or 20 different cars.
No matter what kind of "stupid shit" human drivers do, there's only so much "stupid shit" they can actually perform. It can all be modeled mathematically on a 3-dimensional plane, and thus programmed for.
Is it a complex problem? Yes, assuredly. But your comments are approaching it with what seems to be mild hysteria - it's a basic engineering problem, and all you need to do is model it out. The math is there. It's solid. And I trust math more than I trust human drivers.