While I see your point, it’s also important to point out that a lot of technological advancement in human history has been spearheaded (ha) by military advancements, which eventually get developed at a far more reasonable cost for civilian use.
So the takeaway here: yeah, they’re throwing a few hundred million at this, but in terms of developing a brand-new, clean-sheet transport airframe in a style that’s never been done before - and which, if successful, will potentially lead to a diametric shift in civil aerospace design - it’s really not that expensive, and there is real potential benefit here.