Being in the military, I can assure you those are all run from either a network called "Centrix" (If it's a shared asset with other nations), or SIPR...and neither of those are connected to the internet like NIPR is.
Even in sdoftware - or pharmaceutical companies where one would assume that a lot is spent for research the R&D budget is usual ~18% (which varies, of course) while sales and marketing usually eats away approx. half of the costs.
Sales, marketing and distribution is horrendously expensive and gets a far bigger chunk of the budget then R&D.
"A car is just a big purse on wheels." -- Johanna Reynolds