1. Most of his "freedom of speech" supporters were really just "do whatever liberals dislike" all along, so they'll stick around.
2. There's no reason for Musk to switch his advocacy and mega-donations to another party any time soon. He hasn't even started cashing-out on his influence-buying. Infighting over H1B policies is nothing compared to stuff like getting Tesla vehicles special exceptions for safety rules, favorable SpaceX government contracts, or shaping tariff policy to his benefit.