Elon Musk’s millions failed to deliver Republican wins in fierce midterms