If Washington were to cut off aid to Islamabad, Beijing has shown that it stands by to pick up the slack.