Middleton, a conservative state senator and oil and gas executive, put more than $16 million of his own money into the race.