In my Tesla I've had the experience a couple times of trying to hit the break, but accidentally pressing both petals at once. When this happens, a notice appears on the dashboard saying both petals are being pressed and so the car has decided you intended to brake.
I don't think I've ever had this problem in another car (though admittedly, probably no other car I've driven would alert me if I did). It seems like the petals are placed a little differently from most cars and this makes it easier to accidentally hit both petals. I wonder if the computer's detection of this condition and decision to prioritize braking is a new feature since 2018...