US says it blocked China cyber-threat but warns hackers can ‘wreak havoc’