Nah. It's a huge mistake, yes. But it's not the biggest.
The biggest is overconfidence in AI coding solutions and attempting to replace programmers, while adding a huge expensive dependency on a third party to provide access to the AI models and cloud. It'll be some small schadenfreude consolation when these companies are shaken down by the enshittification of those AI providers.