So far, most have done so without compromising their autonomy in security matters. But, with China’s military build-up causing nervousness everywhere, many governments in the region are starting to work with outside powers.