Amusingly, a decent part of the cost is to produce parts in different congressional districts as bribes for the votes. It's not that the parts are really needed for national defense (because we'd want them built in the best place) but that they're needed for national defense funding approval.