German Chancellor Angela Merkel’s government expects to cut greenhouse-gas emissions from transportation by a quarter by 2030 as it boosts the number of electric cars on the road.