China says it will expand its naval reach after state media warns of “inevitable” war with the US