Where do you get your figures? We have spent way too much, but nowhere near 1.05 trillion Dollars on the F-35 program.
That figure north of 1 trillion Dollars is the estimated lifetime cost of operating and supporting a fleet of 2,500 F-35s for 50 years.
There are so many variables and assumptions in that 50 years to make the number meaningless. Inflation rates, fuel costs, service life extension program costs, all of it just WAGs.
The F-35 isn't cheap, it's very late and way over budget, and what sort of airplane we get in the end is unknown, but they aren't costing us 8 billion Dollars each.
Unit cost is more like $110 million, which makes plenty of money for Lockheed-Martin.