This sounds to me like a non sequitur. The government has collected massive tax revenue from a growing Apple, let alone the larger, more productive economy spurred by the internet as a whole. Income taxes on Apple's employees, capital gains taxes on AAPL stock transactions, sales taxes on Apple products...
If spending on basic research leads to even a tenth of a percent of higher annual GDP growth, it will almost certainly pay for itself as that compounds over time into a much larger tax base.