AI and energy regulation