Apple says devices sold in the US will no longer come from China, as the tech giant tries to mitigate the impact of Donald Trump's tariffs.