Chinese hackers infiltrated U.S. companies, attorney general says