Inside the battle over who gets to build the grid of the future