It's always a matter of degree, though. If someone grabs a boob, then one time is way too many and they need to go. If they say "Hey guys,..." and someone expresses discomfort with the genderedness of the phrase, a few warnings are warranted; different people will have different feelings about whether such a thing is ever enough to fire someone, and that's valid.
The middle ground is where thickness of skin comes in, and while it's not on you to buy in to your employer's standard, it is on the employer to set a standard.
In that respect, I don't think Tesla has been very clear here. I have no idea from this article where the actual line is.