I think that's an apples-spaceships comparison: not even remotely related.
Outside of using magic purely as a technological substitute, things like magic, superpowers, mythical (superpowerful) creatures, etc., are often the retreat of those lacking in real power in the most absolute way: Children and those of a childish nature.
Its why things like Harry Potter, Pokemon, and the plethora of superheros are so appealing. It's a preferable, vicariously lived life. Children lack any sort of control over their world to an extreme, and the more control we feel lacking, the more we retreat into fantasy (of course it doesn't have to just be of the "high fantasy" sort or neomedieval etc). Simplistic thinking also feeds this, as we see injustice "win" in our own lives, we look to escape into a world where "justice" wins. and so on.
I left this behind long ago, and now, as you and I mentioned, enjoy/appreciate world building.This is what makes Tolkien one of the masters of fantasy, not merely because he was "first".
the thing you forgot to mention
is that most "superhero-type" fiction, is specifically aimed at adults instead of children
examples
-The Punisher being pretty much a "street-sweeper type serial killer"
-Wolverine being "unable to die" with the comic becoming philosophical at points concerning death/mortality/immortality/outliving loved ones etc etc
(the whole fucking reason he got his own comic instead of merely being one of the X-men)
-The Deadpool comic being a horrendously-innapropriate-for-children comical-comic that is both a parody of punisher and a parody of Wolverine
-the Watchmen comic
-Preacher
-Transmetropolitan
-Midnighter and Apollo being a gay couple
-Midnighter "loves killing"
-the scene in the Green Lantern comic where Kyle Rayner discovers that girl he's dating is Sinestro's daughter
-Daredevil being a male slut
-Karen Page becoming a pornstar and prostitute and drug-addict
-Felicia Hardy (from Spiderman comic) and Black Widow from Avenger's comic being characters that are clearly, unmistakeably designed/intended to be viewed as "sexy" by the males reading comics
-the scene where the Punisher accuses Daredevil of being "unworthy of having superpowers" because Daredevil "refuses to kill people"
-the point in the X-men comic where Rogue is dating Gambit and the fact that she's way way older than him results in the other characters commenting on it and feeling that each of them should "date someone your own age"
-the end of the whole "3rd Summers brother" story-arc where Scott discovers that huge chunks of his memory have been erased and altered
-Scott Summers' time-traveling children
-Copycat having sex while "in the form of Domino"