Financially strapped firms and new startups alike are looking for an AI lifeline.