Then again, bad drivers often make themselves known on the road and you can give them wide berth when recognized (granted, not always possible). Watching for the warning signs of a bad / reckless / distracted drivers quickly became an almost unconscious habit for me.
A machine suddenly hitting a bug is whole new ball game though. I guess over time maybe you could build up a sense of where machines have trouble driving and adjust accordingly.