Chinese state-sponsored hackers infiltrated US government computer networks ranging from NASA to the US Senate.