Tesla Inc (NASDAQ:TSLA) will slash employee numbers by around 9% and end its residential solar and battery sales agreement with Home Depot Inc (NYSE:HD) as part of a restructuring.