Both BMW and Daimler are to idle factories in Germany due to slumping global demand.