The Trump administration has lifted the ban on TikTok from government devices following a significant change in ownership.