Lockheed Martin will invest nearly $71 million to correct an ongoing problem with spare parts for the F-35 fighter plane, an agreement the Pentagon states.