TikTok is reshuffling its leadership ranks as it navigates mounting uncertainty in the U.S.