Tesla has announced it will slash its global headcount by more than 10 percent as the automaker struggles with slowing demand for electric vehicles.