Tesla to cut 7% of workforce amid tough profit outlook