WASHINGTON -- President Trump said he has agreed in concept to a deal under which Chinese-owned video-sharing app TikTok will partner with Oracle Corp. and Walmart Inc. to become a U.S.-based company, capping negotiations that have stirred debate over national security and the future of the internet.