The move, which echoes a similar initiative in New York City, aims to help Los Angeles reach its goal of 100% carbon-free electricity by 2035.