As president, Donald Trump tried to ban TikTok in 2020 but was blocked by the courts. He has since changed his position.