Tesla to slash tenth of workforce as Elon Musk says 'profit is obviously not what motivates us'