Apple will invest $1 billion in North Carolina and the campus, in the Raleigh-Durham area’s Research Triangle Park, is expected to bring at least 3,000 new jobs to the state in machine learning, artificial intelligence, software engineering and other fields. The workers will have an average annual salary of about $185,000.