Trade wars happened before, when Japan rose to power in the late 1980s and the 1990s. The beneficiaries were the neighbouring countries that had the capacity and the education level to capture that demand. In the Japan era, it was Thailand, Korea and to some extent China itself. In the Americas, it was Canada and Mexico.
Today, if the same scenario happens, it would be the whole of ASEAN that would capture the shift of manufacturing from China. It would be Vietnam for high end manufacturing and Myanmar, Cambodia and Laos for mid to low end manufacturing. Indonesia would also benefit to some extent.
In today's global village, the beneficiaries would also be global, if US chips cannot be shipped to China, then it would be chips designed and made in other countries. Beneficiaries could be UK, Japan, Singapore, Taiwan and Germany. Global Foundries in the Middle East could also benefit.
As mentioned before, investing is never binary. It is more about creativity and there's always a different way to look at things! Huat Ah!