The German vehicle manufacturer wants to remain competitive in a crucial market for electric vehicles.