Oracle to control TikTok's U.S. algorithm in takeover deal