There's only one way to stop Elon Musk from doing erratic, value-destroying things like that, and that's to ambush him in the parking lot with a tire iron.
You don't think Elon went behind her back constantly? You think the next CEO will have more to say? She pretended to be in charge, she got paid, good for her. What are you hoping for. X is a dump, and the sooner it goes away the better for everybody.