If we are still doing the trolley problem it would be “the brakes have failed, and … do you continue straight and definitely hit A, or turn the wheel and definitely hit B”.
But when it comes to self-driving cars, the answer is that it doesn't really matter.