Your claim "Imagine you individually copied and sold libgen" doesn't hold up because there are two parts, copying and selling. Copyright law considers the copying part to be a small civil offense punishable by a fine. It's the selling part that is much more highly illegal and can result in criminal punishment. OpenAI only did the copying part.