Analysts say Beijing will cooperate with other countries to ensure agreement stays in place even if Washington withdraws from it