Do they actually believe it, or do they just pay lip service to that idea for realpolitik reasons? The US has repeatedly accused China of assisting Pakistan with their nuclear weapons program. It's hard for any of us to say what the truth is in that matter, but either way I don't think the potential relationship between Pakistan and China has been ignored.
But I defiantly believe they are a bad ally. I don't know what exactly they have done to get such a high status as an ally in the US. I think it never made sense really and the US has not benefit from the alliance.
I know some of the history of how it came about but even if you read those, the strategic calculus behind it was flawed.
They opposed India, which was opposed by China, and the US spent the post-Vietnam period cozying up to China, because it opposed the USSR.
So, to answer your question, they haven't done anything other than be the enemy of an enemy of an enemy of an enemy.
The US should stop the idiotic believe that Pakistan is an ally. They simply are not, and have not been for a long time. It is well known that the support the Taliban. It is well known they are one of the main pushers of radical Islam. The only real value they ever had was to help against the Soviets when they invaded Afghanistan.
And to do that the US ignored the warnings that they were developing nuclear weapons and basically created anti-western radical Islam.