China says it has no need to “buy influence” after MI5 said an agent of the country infiltrated Parliament.