This site makes an unbelievable amount of money because it helps YC startups attract talent, it promotes YC companies, and most of all, it encourages founders to apply to YC.
I think that none of the top 10 most valuable (to me) websites generate any sort of direct revenue (many, not even indirect) to their owners.
But they're immensely valuable.