Nobody would have prevented them from changing the ToS after a few years to not refund new purchases after date X. It would have been a bad signal but if the platform was successful people wouldn't really mind.
If you put it in from the start it wouldn't be an issue. Or even just guarantee refunds from purchases in the past 3 years. So there is a rolling window and you can lessen the impact but closing the store and continuing operating the platform for 1-2 years.
I would have liked this kind of promise, but for the general public this marketing message might have sounded differently: "We might shut down before 2024".
Even if some people are kind of used to this happening, stating it more obviously might have a negative effect just as well.
They wouldn't have to give it a specific timeframe. It could just be a commitment that in the event that they shutdown, they would refund any purchases made within 3 years of their shutdown, and partially refund any purchases made within 5 years.
The monthly subscription costs will not be refunded, only controllers & games you "bought", instead of played via Pro subscription. If Stadia had been a success, there'd been plenty of Pro subscriptions.