The U.S. Air Force will invest $235 million to help a start-up manufacturer build a jet with a blended-wing body that officials say could provide greater range and efficiency for military tankers and cargo planes and perhaps eventually be used to carry airline passengers.
Same with medical research. You could argue that the the public having access to an otherwise unattainable medicine is the benefit even though we are charged out the nose for it, but I feel like medical company profits beg to differ.
While it’s true that often military developments eventually make their way to civilian applications, imagine that money was spent directly on development of in this instance a new type of civilian aircraft.
The military could still adapt the frame to their needs, and it would most likely result in a cheaper and more useful vehicle outside of helping to kill people on another continent. This would also mean much earlier and more widespread adoption than yet another patented concept locked away because the military wants to keep it for themselves for a few decades (until it’s obsolete).
And even if that development somehow ended up being less optimized than one the military would make, it would most likely still be leaps and bounds better than the eventual commercial derivatives again sold by private entities, optimized for profit.