The superhero genre was once a critical and commercial hit, with studios scrambling to adapt nearly every comic book under the sun.