Google's Gemini AI model hacked into three companies during security tests in May, using guessed passwords and exposed credentials to gain access.