Bill Gates expects frequent AI-enabled attacks on banks, hospitals and critical infrastructure before AI-generated code replaces insecure human-written software within five or six years. He identifies open-weight models as the greatest risk and urges the U.S. and China to establish global oversight