It is quick to complain about the extent of Chinese spying in the US, but Washington has also deployed a vast intelligence-gathering operation against Beijing in partnership with its allies.