Norway already had cheap, clean electricity thanks to hydro, so it makes sense they would lead on EVs and heat pumps.

They also have lots of oil which makes the transition more remarkable.

Oil they prefer to export rather than use. They had built up a nice sovereign fund accordingly.