If I see a car nudging out of a side street, I will ease off the accelerator slightly, to give myself time to react should something happen.
Or program it to be cautious and avoid a crash? It's clear that you'd do the latter, or the lawsuits would be piling in in no time.
The car is slamming on the anchors. That isn't defensive driving as you described. It's potentially as dangerous as the incident you are hoping to avoid if you have a tailgater. At the very least, it is downright terrible driving etiquette to just wallop the brakes on "defensively". Nobody does it, why does the car?