China threatens the US and allies by saying they are on a “dangerous path” after their promise to sell Australia nuclear submarines.