Musk spent millions to meddle in a Wisconsin state Supreme Court election — which his candidate lost by double digits.