China warns US military aid harms 'security' of Taiwan