A man could not be revived after he and another man were pulled from the surf by brave bystanders.