HOCKENHEIM, Germany — The most carbon-intensive part of producing an electric vehicle is manufacturing the battery that goes in it. It's a task that accounts for about 40 percent of the emissions associated with building, for instance, a Porsche Taycan.