TikTok has signed a deal to sell its U.S. business to three American investors -- Oracle, Silver Lake and MGX.