BMWs next electric cars will have batteries with zero (!) rare minerals, they are on the way to produce cars with renewable energy and they can recycle 96% of their batteries, just not the thermoplastic. There is much more they are doing. Where they forced to adapt? Yes, they weren't at the forefront. But they are taking huge leaps forward.
All that while providing, well, the quality of a german car. I drove a model 3 and a BMW and there is a massive difference in quality.
If there is a German car maker lagging behind I think it would be Daimler/Mercedes Benz. VW is somewhere in the middle I guess.