VW to focus on electric/hybrid cars

It seems that Volkswagen is set to focus on electric and hybrid vehicles in the longer term. Is this a knee-jerk reaction to the diesel emissions problem or a sensible long-term move?