Interesting post about 1 pedal driving
@David.85D !
I see it this way: normally both pedals are used with the right foot, and the left one stays on the floor.
In a panic situation the instinct is to move the right foot from accelerator to brake.
If the impact happens when the instinctual movement has already done, than the impact pressure will be on the brake.
If the impact happens so suddenly that the driver hasn't panicked yet, the pressure will be on the accelerator. But usually on modern cars with drive-by-wire the accelerator is automatically disconnected (overridden) if there is a pressure (by the driver or by the anti-collision automatic brake system, it's the same) on the brake pedal; and it is also overridden in case of impact where air-bags deploy.
I can confirm this personally, as I was involved in a rear-end collision while stopped at a red light last summer (not in my Tesla! I was in my wife's Fiat Panda). Fortunately it was slow enough not to cause any injury, but it was also strong enough to deploy air-bags. The Panda would not start the engine any more till I re-engaged the safety switch tripped by the air-bags.