Why are people surprised by this? It seems so naive to think they would be upfront with their massive secret, dark projects.
However, looking into the .gov report where they’re getting this from, it looks like the “21 trillion” figure is the total of all adjustments both up and down, to any part of the budget sheet- sloppy accounting is being done, but the net “adjustment” (the amount of money being unilaterally summoned from unclear sources due to Pentagon malarkey) is merely (!) in the hundred-millions or billions.
If you had put the same amount of money into research grants, you would've obtained 100x the commercial inventions we eventually got mainly by accident from the military.
If you mean the latest subscription service for cat videos (or "like Uber, but for..." type trash) then no, the military doesn't help with those things.