TikTok has been given a last-minute lifeline. A federal judge has halted the Trump administration's ban on the popular video-sharing app.