Launch contracts. They sell a service (sending satellites into orbit) for more than it costs them, and then reinvest the profits into crazier things like reusable rockets and getting to Mars.
Investors, stock, government contracts, and offering launch contract services to private companies. I would also not be surprised if they have private contracts with companies and governments for research and development purposes (visualization, simulation, automated testing with their rockets for instance).