The duelling remarks underscored the whiplash investors have felt as tensions have flared in the relationship between Washington and Beijing