> You spend billions

The you being taxpayers, right?

No, only a small part of this is publicly funded.

Which part is small? Productizing? R&D? Marketing?

Nearly all basic science research is publicly funded, then in the US transferred to the private sector for commercial exploitation