President Donald Trump said that the military contract, awarded to Boeing, “has been in the works for a very long time.”