There is a certain irony, given that "The Pentagon" has become at least roughly synonymous with, "Unbelievably bloated and corrupt". If the F-35 were a privately funded venture, everyone involved would have probably shot themselves.
Of which the largest government body is... the military. "Healthcare" is the largest expenditure, but largely to a collection of unconnected private industry... the military is a different matter.
Business fails all the time usually does not result in seppuku. The problem with government bloat is the lack of death for the business, not its purveyors. The plane is not built by the government, but Lockheed Martin, a private company. If government cut funding a while ago, they would've stopped working on the plane.