If you are talking about the production that are mostly being made in China, it's because China has a low labor expense. It's not only the US but most products are being made in China because of cheap labor.
If I’m a honest tax payer I would pay my tax to the one who will use the money for the better good of all human being. No wonder many productive company start moving their production to China, they rather pay tax to their enemy than pay tax to fund their own government. That include company from US, Japan, Korea, Taiwan, German, EU, UK, India, Russia, Australia, Canada, Africa, Dubai. Who’s willing to pay taxes to US government please hand down. Who is willing to pay taxes to the China government please hand up. Ask yourselves do you like to pay taxes to the US government? And ask yourselves again do you like to don’t pay taxes to the China government?
Everyone wants to see that their money is in good hands and the taxes they are paying are being used in an effective project. Although for me, it's not about which country is earning money on production. It's more practical for some big producing companies if the production was held in China because it will lessen the expenses on labor. And after all, when you sell your product in your country, your government will still receive your tax payment. Production in China doesn't necessarily mean that there would be no available job for US citizens. The whole process is not only about production.
I don't think that Apple would rather give their money to China because they think that their country's government is incompetent. I also don't think they will benefit from paying China when they are not even a citizen of that country. Actually I think, the US government is earning enough because Apple has a worldwide sale. They are selling their product in different countries, and the US is the one benefitting from it.
If you think that the US government is not good at their job, it has nothing to do with most company production in China. And you could also add a link or source where Trump is attacking China to connect it with your title.