What the Chinese government desires shouldn't stop the Chinese think tanks from getting the facts and prediction right. If they do, then 99% of them wouldn't predict a Clinton victory in 2016.
Everyone except Michael Moore predicted a Clinton victory.
Chinese think tanks should not be in the business of predicting US election results anyway.
There was nothing China could have done differently short of being able to see the future. China tried working with Trump at first, but it soon became clear that Trump had no intending of upholding his part of any bargain. Then we had the sanctions and the HK riots, and Xi cut off contacts with Trump.
Trump is a sociopath, you don't deal with a crazy person.
Besides, Trump was the best thing to happen to China for decades. The Chinese likely suspected this from the start. Why would they jeopardize this opportunity by appearing to support Trump?