A former Google employee has been charged with taking confidential AI-related information from the company and sharing it with entities in China.