The setting is a barren planet. Nobody is on the planet but cities and everything are still there.
Powers of Anti-Monitor:
Anti-Monitor was one of the most formidable foes ever faced by the heroes of the DC Universe (or "Multiverse", as it was then and now). He is directly responsible for more deaths than any other known DC supervillain (trillions, at least), including killing Supergirl personally, though it could be suggested that when the universe 'restarted', most of the deaths attributed to him, in effect, never happened. He consumed thousands of positive-matter universes to increase his power, and was able to personally battle scores of the multiverse's strongest heroes simultaneously.
In addition to possessing vast size (varying from several meters to hundreds of meters), superhuman strength, extraordinary durability (by the end of the Crisis series he was able to effortlessly withstand blows from Superman, and even survived a star going nova), the ability to project destructive bolts of energy, and greatly augmenting another being's powers (as he did with Psycho-Pirate, whose powers were increased to levels too much for him to handle). The Anti-Monitor also possessed reality warping abilities, which he displayed by removing Psycho-Pirate's face. The Anti-Monitor also commanded an army of Qwardians and shadow demons, and had access to highly advanced technology capable of shifting, merging, or destroying entire universes.
Powers of Shuma-Gorath:
Shuma-Gorath is a powerful and ancient demon of the highest order and possesses vast supernatural powers. He is essentially invincible to anything but the most powerful magic. He has superhuman strength and endurance which, being magical in nature, are incalculably high. Because of his body's unique form, he has the ability to shapeshift and even liquefy himself.
He also has the ability to generate several forms of energy attacks, mostly forming from his one eye. One attack not generated from his eye is when he forms a ball of pure energy that can shatter realities using all of his tentacles to generate the ball above himself.
He can also teleport and phase at will and levitate. He can enter and leave different planes of existence and dimensions at will and has reality warping powers. He can also summon demons and other supernatural creatures to do his bidding.
His intelligence is nearly immeasurable, approaching omniscience.
Who wins?