Marvel’s trajectory, from near collapse in the 1990s to global dominance in the 2010s and beyond, is one of the most remarkable turnarounds in corporate history