A gas car has the pedal setup to open the throttle valve and let in more air and then some additional system for more air is more fuel... an ECU in open loop measures the airflow and engine temperature and triggers the injectors for a certain amount, in closed loop it will read the o2 sensor and adjust fueling to get the right mix.
If you move to drive by wire, now you have an electrical signal for the pedal, but you didn't necessarily simplify the system because you also have to add a way for the ecu to control the throttle valve or otherwise regulate intake airflow.
I used to race cars, and I still have the old 2003 5-speed turbo, but the idea of an electric car without all the hoses and fluids and spinning pieces is attractive.