I won't say these are the best sources, but https://en.wikipedia.org/wiki/Budget_of_NASA and https://en.wikipedia.org/wiki/Military_budget_of_the_United_... suggest that at its peak during the space race, NASA spending reached 4% of the government budget while if I'm reading the charts correctly, the government routinely spends up to 4% on the millitary every year since. I'd personally classify the Apollo program then as a rounding error as I pay more than that in sales tax and often don't notice... and that was at its peak.