TikTok has reportedly struck a deal with Oracle to sell its U.S. operations to the American software giant.