The tech company is struggling to retain workers after Musk demanded employees sign a pledge to work ‘long hours at high intensity’