To most people, brake-by-wire means totally electronic control. Tesla's current models are only electronically assisted (in that there is an electrically powered hydraulic pump). There is still a physical connection between the brake pedal and the master cylinder. This means you are still available to provide some braking force if you loose 12v entirely.
See https://www.evcreate.nl/wiring-the-tesla-ibooster/ as an example