I have a problem with the analogy “lottery ticket”. I think analogies are helpful as long as we are talking perhaps a singe order of magnitude difference between the two things.
The chance of winning most popular US lotteries is approximately 1 in 300,000,000. In comparison, the chance of IPO-ing a YC company is approximately 1 in 300. You can count how many orders of magnitude of difference that is.