Wasn't it just the other way round at Volkswagen? Herbert Diess steered the heavy ship Volkswagen extremely aggressive towards electrification like no other company of of this size with clearly visible results.
He was ousted due to major issues (delays, staffing, quality) with the software department (CARIAD) that is building a completely new software stack to be used for new cars of all Volkswagen brands and replaced with an e-fuel loving petrolhead, the former Porsche CEO Oliver Blume.