Fix all grammatical problems in the given sentence
By looking at the development of automobiles, from electric vehicles to gasoline-powered cars, we are able to understand how economic factors influence oil magnates, car manufacturers and the government who ultimately shaped this technological innovation.
By looking at the development of automobiles, from electric vehicles to gasoline-powered cars, we are able to understand how economic factors have influenced oil magnates, car manufacturers, and the government, which ultimately shaped this technological innovation.