The move comes after Apple's chief executive met with President Donald Trump last week.
The iPhone maker faces pressure from the Trump administration over where it chooses to manufacture its products. Apple assembles most of its products in China.
Earlier this month, Trump signed an order imposing long-threatened 10% tariffs on Chinese goods on top of existing tariffs of up to 25% levied during his first presidency.
Apple said its $500 billion investment plan will include work with suppliers across the U.S. and production of content for its Apple TV+ media streaming service in 20 states, as well as new hires and research and development (R&D) spending.