President-elect Donald Trump upended years of Pentagon procurement planning with a tweet announcing he had asked Boeing Co. to price an upgrade of its F-18 Super Hornet jet that could replace Lockheed Martin Corp.’s F-35, the most expensive U.S. weapon system ever.