Lidiane Jones, the new chief executive of Slack, is betting that the future of the messaging app—purchased by software giant Salesforce for $27.7 billion in 2020—will rest on the combination of their technologies using generative artificial intelligence.