If you can only save one or the other, I'm imagining this is "The Good Son" scenario. Hanging from a cliff, stranger in one hand, kitty in the other, and I need both hands to save the stranger. This would be a different story if it were a dog, but of course my kitty isn't stupid, he knows how to climb up my arm and I don't have superhuman grip strength so the crying blubbering stranger realistically is going to die regardless of my intentions. Truthfully the longer I hold on to him, the better the odds that I'm going over the cliff too so this is more about self-preservation.
As far as endless strangers, I don't really understand that scenario enough to comment on it.