Tesla laying off more than 10% of workforce