Many enterprise software startups that raised money at steep valuations between 2020 and 2022 face diminishing options.