The 2022 federal midterm elections cost more than $8.9 billion, blowing past the inflation-adjusted $7.1 billion spent on the 2018 midterm elections.