China congratulated Zimbabwe’s new President but denied it played any part in his takeover or in the ousting of strongman Robert Mugabe.