Volkswagen has struggled to make a successful transition to EVs, with sales of its electric vehicles falling in 2024.