Earlier quoted context omitted.
You could adjust the question to be “the brakes have failed and..” to avoid that out.
I know, you try to save the trolley scenario. But if brakes fail then it doesn't matter what the AI (or driver) decides. To blame is the one who is responsible for the brakes not to fail.
So in that sense it's quite relevant. Great, you can usually just apply the brakes. What if you can't or don't have enough following distance? (less common for an AI driver that will try to leave enough distance, but that's not entirely in your own control; another driver can merge in front of you at any time they wish and if an incident occurs before you can increase the distance, you will effectively have to swerve since you won't have enough braking capacity.
It is worthwhile to take a look at dashcam videos (eg, youtube, reddit) to get an idea of the many, many complex scenarios a driver can find themselves in in which a crash is imminent, but the driver has many options and must decide what strategy to take to get the least bad outcome.