Chinese tech giant ByteDance finalized its agreement to sell a majority stake in its video platform TikTok to a group of U.S.