The move caps a week of chaos and uncertainty about the company's future under new owner Elon Musk.