It knows stuff is happening to the sides and swerving is bad.
Unlike a human, it can slow down to hit the object at minimum speed, then speed up again just in time to not get hit even if the driver behind does nothing, at an optimized profile that gives the person behind time to not overreact and cause a pileup.
Self driving also has the advantage that people might stay away. Unlike regular tailgating you have machinephobia that might actually make people not tail you.
Yes, this is undoubtedly the human drivers fault for following too closely but ... is it being precipitated by unexpected AI braking? In any case, the AI has demonstrated very limited ability to avoid these sort of collisions.
In any case, some of those cases were probably due to lack of rear sensors, or lack of any sensors at all besides cameras, and lack of any deterministic code able to override the AI.
I recently had a situation where a large truck off to the right in front of me had a blowout and a large chunk of tire flew over into my lane. There were other cars traveling fast on both sides and behind me.
What to do? I chose to maintain my speed and lane and just hit the tire. It caused some damage to the front of my car but in my split second judgment, this was the least bad option.
What would your AI do?