If you imagine batteries are much more dangerous to handle than mechanical car parts containing gasoline, you are not sufficiently familiar with gasoline.
> and software is much more important in a Tesla on the road
Doing things in software doesn't make them more dangerous than doing them mechanically. Removing the speed governor or modifications that increase power output have the same consequences whether they are implemented in software or hardware.
I wish I could find you a reference right now, but the FDA would strongly disagree with you.
Lithium batteries typically don't contain acid.
If your modified gas engine seems to work, you are quite safe. If your modified Tesla seems to work, it might well explode the next second..
I think you are overstating your case. I have seen cars on fire by the side of the road...although it is possible it started with an electrical fault.
I believe that it's not that rare for a model of car I own to have a leak develop in the fuel lines and drip fuel onto a hot manifold and start a fire.
You're making the classic mistake of assuming lithium-ion batteries contain metallic lithium --- it's called lithium-ion for a reason. Primary lithium cells, which are basically never used for EVs, do contain metallic lithium; but lion cells contain lithium salts and a dissolved solution of lithium ions in the electrolyte.
The electrolyte is a flammable organic solvent, but not more so than petrol. Lion batteries catch fire because the massive energy they store is released when damaged, and that ignites the electrolyte.
Battery fires can be hard to put out, but it's a solid component designed to keep the fire from spreading outside of it. If gasoline reignites you better hope you didn't get any on you.