T-Rex: One day Batman was up against his greatest villain y-
T-Rex: Hold on, scratch that.
T-Rex: One day Batman was up against his most recent villain yet -
T-Rex: THE RIDDLER!
T-Rex: The Riddler demanded Batman solve his riddle to end his crime spree, but Bats demurred, instead implying that HE had a riddle that even the Riddler couldn't solve! That of course instantly incensed the Riddler, who was literally named "E. Nigma" and who made being "best at riddles" his whole deal several years ago. "I WILL SOLVE YOUR RIDDLE!!" he shouted.
Utahraptor: So Batman told him his riddle?
T-Rex: He sure did!
T-Rex: Only his riddle was "what has no eyes, yet sees a solution to income inequality that leaves everyone satisfied?" The Riddler knew no such thing existed, but that'd mean there was a riddle with no answer - INTOLERABLE to him - so instead he spent several years inventing a machine that did those things.
T-Rex: With income inequality now solved, Batman kept Riddler busy with new riddles, such as "what's free yet offers global access to affordable power and clean water?" And that's how Riddler and Batman literally saved the world.
T-Rex: BAM.