The tech giant’s possible purchase of the China-owned app’s US arm were put in doubt by Donald Trump.