But SpaceX needs to make money to make colonization of Mars happen.
Making money is about making things people want. Colonizing Mars is the thing that people want; and every step towards that goal (launch vehicles, human spacecraft, etc) bootstraps them onto the next step. Much like how Amazon works; they forfeit profit today to invest in not just tomorrow, but several decades from now.
Amazon isn't launching billion dollar servers that will explode in a big publicly visible fireball when you forget to plug a cable in.
How exactly is a mission to Mars comparable to this?
SpaceX reinvests all operating income from today's offerings (launch vehicles) to build the SpaceX of the future.
Both companies appear to be bootstrapping towards a gargantuan vision that is likely decades away.
Amazon has millions.
As far as I can tell NASA accounts for less than half of SpaceX's business. According to their website they have nearly $5 billion in contracts and I can only find reference to just over $2 billion in NASA contracts.
NASA ⊂ "The Government"
SpaceX also has Defense (USAF) contracts. At least around $900 million already awarded (and that may not be all), and they recently sued to be allowed to compete for much more under the EELV program.
Didn't a SpaceX competitor install second-hand 1960s Russian rocket engines in a launch vehicle that failed recently? Its not a fault on the engines - I'm sure they were excellent - but rather an anecdote on the gargantuan barrier to competition inventing new space technology offers SpaceX.
Don't you think Amazon's stock price says differently?
To me, a private Mars colony sounds a lot like an Amazon. An endeavor with a very big mission and a very long execution time.