Philippine President Rodrigo Duterte brushed off the possibility of forming a military alliance with China.