A three-judge panel unanimously ruled to uphold a U.S. law passed earlier this year that forces ByteDance to divest TikTok.