The billionaire Democratic governor spent at least $5 million helping his lieutenant governor prevail in the contest.