Elon Musk’s order that employees either become “extremely hardcore” or leave has led to mass resignations.