Data centers powering artificial intelligence have strained the electrical grid and driven utility costs higher for consumers.