Eric Bach, who was once the director of engineering at Tesla, is out amid a larger executive shakeup at the company.