https://www.theaidsinstitute.org/education/aids-101/where-di...
Someone had a cut on their hand while butchering a monkey. No sex necessary.
Lets suppose hypothetically than saliva would inactivate this virus in humans. Most probably there would be still some humans without this defense mechanism. And they would be totally normal humans otherwise, indistinguisable than other people unless tested chemically that just would produce a saliva with low antimicrobial activity (and could allow the disease to jump to other people).
Unrelated, but interesting: the infection rate of HIV even when having unprotected sex with somebody who is not at undetectable levels is quite low. The HIV doctor I spoke with said that it was on the order of 1 to 5 %.
Male to female is more common, female to male less so. Both are rare.
Using a condom makes the odds in the millions.
https://www.independent.co.uk/life-style/love-sex/why-would-...
https://en.wikipedia.org/wiki/Endogenous_retrovirus
So where did HIV come from? Who knows. It( not the current version of HIV, something similar) has been with us for millions of years in 1 form or another. Enough to leave a large mark on what makes us, us, our DNA.