Mr. Trump said his meeting with Mr. Xi “will be a very difficult one in that we can no longer have massive trade deficits and job losses.” “American companies must be prepared to look at other alternatives,” he said on Twitter.