US commander notes China military gains