The new feature, called Slack Code, is the latest effort to try to sell businesses on the idea of AI coworkers.