California Passes Law for AI Safety to Prevent Catastrophic Risks