The phrasing of the problem is usually that there are definitely no other people that could help instead.
The bystander effect, which you're describing, is at least partly because people reason that someone else is likely to be able to intervene instead.