When I was taking motorcycle safety they made it clear you needed to ride only at a speed where you could stop in the space you knew to be clear. That means if the car in front of you turned in to a stationary boulder, you needed to be able to stop.
Hopefully human drivers learn to apply the same wisdom to their own driving.