As the midterm elections showed, Elon Musk doesn’t always get what he campaigns for. This time, he did.