Companies raise money now to generate cash flows in the future from a wildly risky innovation. Assuming the thesis is correct, the company will then to pay it back to investors (VCs and their investors including Endowment Funds), but also employee and taxes.
As companies grow, they pay more taxes, and this will let government spend in things like education, infrastructure, social security.
It's either this or socialism.
"Capitalism: The worst economic system, except for all the others"