A company that makes titanium used in aircraft is planning to invest $868 million to develop a manufacturing facility in Fayetteville, North Carolina, an area with a high concentration of defense contractors and one of the world’s largest military bases.