Shares of Tesla tumbled following a sales warning. The electric car maker also cited slow production of its Model S sedan.