Wow, bunch of really upset people here telling me that my Tesla (which I have no intention of jailbreaking) is going to explode and Tesla will laugh at me if I even think about jailbreaking it.
Look, I'm just stating the facts of how the warranty system works. OBVIOUSLY if you do something to brick the car or damage it, that's on you. And given that you're in a very precarious place given the car's MCU controls basically everything, it's a whole lot easier to potentially damage or affect something if you start mucking around in the software.
THAT BEING SAID: Just because you dared to jailbreak/modify/root/whatever the car DOES NOT mean that Tesla has carte blanche ability to void your entire warranty. Or even most of it. They need to have a reason to do so! Now, whether Tesla takes a very stand-offish approach (as they have with 3rd parties repairing damaged cars, for instance), is up to them. It's possible this is a legal fight waiting to happen.
Gaining root in-and-of itself does not mean stuff in the car gets damaged. What you do after that... well, that's on the user, no? If Tesla voids your entire warranty just because you got root access to it then reflashed it back to normal, well... I'd fight that in court.