The company, which builds most iPhones and other products in China, says it plans to spend US$500 billion in the US over the next four years.