Hoping to avoid President Trump's tariffs on Chinese imports, Apple is investing $500 billion in U.S. facilities over the next four years.