That leaves the governments of a $4.5 trillion bloc, collectively the world’s fourth-largest economy, trying to hedge their bets on defense hardware between Washington and Beijing, without getting caught in the slipstream of their superpower rivalry.