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.
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.