The funny part of hypothetical studies is often that they don’t look at all options. The 2 options presented are a) Kill 10 pedestrians… or b) Drive into a concrete wall and die.
What about sounding a very loud horn? One has to assume that the 10 pedestrians are not invisible.
See pedestrians — sound a very loud horn — avert collision. Possibly a bit pedantic, but what the heck, it’s Monday. :)