Beijing has been accused of working behind the scenes to influence the outcome of the November election.