Chinese President Xi Jinping defended free trade and international cooperation during the APEC business summit in Shenzhen amid US-China trade tensions.