Recent intrusions into systems used by the C.I.A., the F.B.I. and the Agriculture Department appear likely to be the work of China-affiliated hackers, officials said.