Old-school power companies have become darlings among hedge-fund firms thanks to their starring role in the artificial-intelligence boom.