There are also universities and other groups. Corporate money only accounts for less than 30% of research funding.
https://www.sciencemag.org/news/2017/03/data-check-us-govern...
https://www.sciencemag.org/news/2017/03/data-check-us-govern...
Federal funding accounts for <50% of Basic research funding. basic research funding accounts for 1/6 of R&D spending. So federal funding is <8% of overall R&D spend.
From the article you linked:
>Basic research comprises only about one-sixth of the country’s spending on all types of R&D, which totaled $499 billion in 2015. Applied makes up another one-sixth, whereas the majority, some $316 billion, is development. Almost all of that is funded by industry and done inhouse, as companies try to convert basic research into new drugs, products, and technologies that they hope will generate profits.