Federal appeals court upholds law that could ban TikTok in U.S.