As Democrats celebrate a battleground-state win in the most expensive judicial campaign in U.S. history, President Donald Trump and the GOP are confronting a worrying early sign about what the intense spotlight on Elon Musk’s influence means for the party.