In the former case, led to move movies, whereas the last two Batman flicks resulted in zero.
still had other studios wanting to chase that kind of box office. Marvel was pushing to get films made at that point precisely because of how much money Batman was still making circa 1995. Thereafter Batman faltered and the Marvel films stepped in as the impetus of the next wave of films.
Besides, even in the heyday of Supes and Batman, they were pretty much the only two around. What X-Men showed is that the genre was commercially viable again.
led to a fair number of comic book movies in the 1990s, far more than had been made in the 1980s. The wave from the 2000s that continues through to the present is again that much larger. Each wave has gotten bigger in succession.