The Trump administration's decision comes after weeks of drama over a potential acquisition of TikTok by a US company.