China military warns of confrontation over seas