It comes as Tesla battles with falling sales and protests.