Tesla to reduce workforce by 9%