SpaceX is only 12 years old now. Between now and 2040, the company's lifespan will have tripled. If we have linear improvement in technology, as opposed to logarithmic, then we should have a significant base on Mars, perhaps with thousands or tens of thousands of people.
— Elon Musk

It is true that spacex is partially a government contractor, but it would be unfair to say that spacex is entirely a government contractor.
Elon Musk spacex quote

On one of the SpaceX flights, we had a secret payload: a wheel of cheese. We flew to orbit and brought it back, so it was the world's first 'space cheese.' It was, in part, a tribute to Monty Python.
— Elon Musk

The pace of progress on Mars depends upon the pace of progress of SpaceX.
— Elon Musk

I feel very strongly that SpaceX would not have been able to get started, nor would we have made the progress that we have, without the help of NASA.
— spacex quotation by Elon Musk