Trump, due to meet Xi in about three weeks in South Korea, complained on social media about what he called China's plans to hold the global economy hostage.