TikTok plans to spin off its U.S. operations under a new American-led joint venture to comply with U.S. law.