Major tech firms and crypto allies are deploying massive capital to influence AI regulation and election outcomes ahead of the midterms.