The deal is expected to close next month, with Oracle, Silver Lake and MGX owning 45% of TikTok’s U.S. business.