You should check your facts. Elon doesn’t own any houses, he lives in rentals. Also in 2008 when he didn’t even have money for that after putting all his PayPal money into the startups, he was living at his friends’ places.
But the main point is the side comment: I’m having fun coding whenever I want to, but I strictly do non-payed hobby projects, as I don’t want to get into commitments ever again.