One of the prime rules of storytelling is that the hero has to have a flaw.
Superman is super. He can't lose. That's why the writers introduced Kryptonite. Captain America is a super-soldier, but is still mortal. Thor is a god, but can lose his hammer and his powers.
The problem with Superhero movies is that they all got so much power they became invincible, and boring.
I'd argue that they still meet the criteria, even the seemingly invincible characters, by making their flaw caring about someone close to them. Villains these days often present a danger not because they're capable of killing the hero, but because the hero has a close personal attachment to someone that isn't invincible.