There are at least 3 reasons you should not be worried about catching HIV
in these circumstances. 1) It seems unlikely any
blood got into
the wine. Your friend recognized the cut immediately, probably before the cork had not even been removed. 2) Swallowing infected blood or secretions is very low risk for HIV, maybe zero. For the same reason, oral sex rarely results in HIV even with swallowing HIV-infected semen. 3) The alcohol content in table wine is sufficient to kill HIV.