The United States and China have agreed to reduce tariffs on $30 billion US of goods and launch a dialogue on AI, both countries said following President Xi Jinping's visit to Washington.