Pilot projects across the United States are exploring how electric vehicles could help power grids adjust to rising demand.