Democrat Susan Crawford won the Wisconsin Supreme Court election, beating Republican Brad Schimel, who was backed by President Donald Trump and Elon Musk.