The last time Elon Musk sank money into an election, he played a starring role in the 2025 state Supreme Court race in Wisconsin.