This is where you consider buying a life annuity from a life insurance company if this really concerns you.
You can compare the price of insuring against invalidity as e.g. a 30 year old with the price of a life annuity to see just how expensive it could be.