> A decent engineer will likely be able to write a slack-like application, definitely good enough to cancel the 500k/year contract, in a couple of months.
A decent engineer can already crank out a working Slack prototype within a couple of months, and there are mature Slack alternatives today. There's a reason companies are paying $500k/year, and I doubt it's the code: maybe it's the enterprise support, the external integrations, or even just the name recognition.
Companies getting leaner may be true (it seems like this has already been happening the past couple years regardless of AI, and companies used to be lean in the 2010s).