Mercedes will cut costs to fund EVs