It follows week of chaos, uncertainty about the company's future under new owner Elon Musk, days ahead of US midterms.