I think it works perfectly for stack overflow. Rarely is the full answer in the Google blurb. I almost always click through to the actual SO post.
Again, discord improving search would make users rely on their software more, since searching discord for answers becomes a part of user's workflows. Slack offering a premium enterprise "Librarian" feature would probably have significant demand. Usually, companies that offer more value can charge more for that value. I don't see the logic I how gimping search functionality somehow ends up improving these companies' bottom lines.