My understanding is that they value people who are passionate about Tesla and SpaceX products. The logic is that if they truly care about what they're working on, work-life balance and pay can be sacrificed. I know several people that sometimes complain about the long hours at these companies, but they refuse to leave because of their passion.