Our current vehicles are a manual transmission Civic and a PHEV Pacifica. The Civic is easy—just press in the clutch—but the Pacifica would be more tricky; I guess I'd start with the brakes, then the shifter (which is just an input to the computer, of course), then hold down the power button, and then look for a place to ditch.
on APCI computers, the power button is software-controlled, i.e. it sends a signal to the OS, if the OS is currently frozen (or is configured to ignore it), pressing the power button does nothing. But to override this, if you hold it for about four seconds, a hardware shutdown still happens (is it done by the motherboard?). There are also other functions, like holding the power button for 30 seconds to enter into recovery mode on iPhones.
I wonder if holding the power button on a running EV car does anything similar...
It doesn't matter how trivial it is to override a stuck pedal, it's still a serious hazard, because even if you have the option to shift into neutral a driver may not think of that or may not react in time.
It's also trivial to override it in the Cybertruck: just press the brake pedal. Braking is hard-coded to cut off the accelerator, so if both pedals are pressed the brake wins and the accelerator is ignored. Still a big problem though.