Dam owners, from state utilities to private operators, generate and store electricity with rivers and pumped storage, often tied to water management.