Beijing’s fleet is getting quieter and more lethal, while Washington leads in tech but lags in production.