It is my understanding that Teslas have regenerative braking. Are you sure that the brake pedal is physically connected to a hydraulic cylinder?
You still need friction brakes for everything else, which in Teslas (and most other cars) are hydraulically actuated.
https://teslamotorsclub.com/tmc/threads/21-myp-how-to-turn-o...