TikTok is preparing to shut down its US operations completely if a federal ban takes effect, going beyond the law's download restrictions.