Elon Musk is emerging as a new star in Democratic ads and fundraising appeals, as politicians from Virginia to Wisconsin try to seize on the tech billionaire’s role in slashing the federal government to motivate their voters and donors.