Well my car is from 2020, and the dealer explained that there is nothing mechanical in - between my brake pedal and the actual brakes.
Your dealer is wrong. Even "fly by wire" brake
systems still have their non electrical portion
that applies the brakes. Regenerative brake
systems have mechanical back-up brakes.
Pneumatic brakes are reliable. I wonder how
well adding electronics to a high-G wet dirty
environment would work.
Pneumatic control takes time to travel the
length of a train. Electrical controls could
speed that up, but I'm skeptical that signal
speed is a problem. I dint run across that
at Knorr Bremse (the German company I
worked for).
I wanted disk brakes on Mr Aluminum Trailer
cuz I sometimes drive in mountainous areas,
but the company wouldn't do it. No brake fade,
but they're spendier than drum brakes. Much
of that due to an electric over hydraulic converter.