I mean the UI part, of course - Slack has public channels that everyone can easily discover and join.
Of course, IRC can do all of that (much better than Slack, from a technical point of view). But IRC + The Lounge is not a drop-in replacement for Slack.
Sure - I know more than one company who uses IRC internally, and it works just fine. However, Slack or Rocket Chat have much better usability for non-technical users.