TikTok has signed a deal that would put a group of investors led by the software company Oracle in charge of its U.S. operations. But China-based ByteDance will still own the underlying algorithm, ...