The Trump administration has lifted its ban on TikTok for government devices, signaling a shift after the app's ownership changes hands.