Startups and established companies alike have renewed their commitment to profitability as inflation and recession fears make it harder to raise new funds.