Slack created the category and had a 2 year head start, the fact that they are being rapidly replaced by teams in many office environments has little to do with specific features in teams vs slack. It’s entirely because you get teams “free” with the e5 office license that you need to buy anyways for outlook, excel, etc.