California legislature approves bill to assess AI safety risks MLex