California is set to become the first US state to manage power outages with AI