TikTok has officially finalized a landmark deal to transfer its American operations into a new, majority US-owned entity.