From the surge in electric vehicles to the ongoing chip shortage, automakers have had to learn to adapt this year.