If a company gives away their product for free (open source) and tries to upsell users to a pro version on their documentation pages. And if AI answers user questions and users no longer have to browse the documentation pages. Then the company will likely make less money.
I don't know if the company needed 4 software developers, they were working on a big new release, but revenue projections were down and the business long-term not sustainable anymore. A brand new company might be much more conservative hiring. A company with bigger teams more exposed.