I feel if the product is valuable enough and solves a real pain point, even if the backing company dies, an alternative will take its place.
I have also seen models where the source is made available just before that happens. For eg: https://www.placemark.io/post/placemark-is-winding-down