To be fair, I didn't watch the video to the part where he mentions monkeys writing Hamlet, but I thought the point of the monkeys is that they will stumble upon a Hamlet by accident at some point in time, by randomly pressing buttons on a keyboard. Obviously, it would take a long time, but it would happen at some point.