A report by Germany’s counter-intelligence agency said some surveillance activities targeting military infrastructure can be linked to China.