TikTok finalized a deal to form a new U.S. entity, easing security concerns and avoiding a ban that threatened to shut down ...