President Donald Trump and TikTok announced a new joint venture designed to keep the app operating in the U.S. under American leadership.