That is simply not true. For one thing fourteen days notice has to be given of any strikes- unexpected train strikes simply cannot happen in the UK.
For a second thing,
if a late train is cancelled, you may end up without a place to stay for the night and risk losing prepaid hotel bookings, entrance tickets, or plans for the following day.
that will not happen. The railways have a legal duty of care to get you to your final destination that night, by whatever means is necessary. That may be by bus or by taxi (paid for by the railway), or by alternative rail route if one exists. That applies no matter what kind of rail ticket you have. In the past I have known a 3am taxi arranged from London Euston to Penzance where a connection for Paddington from Manchester to the west country sleeper was missed due to a very, very late train.
That will be arranged by rail staff.
Renting a car at the last minute in the majority of cases would be very hard as outside of airports most rental companies close for the night at 5 or 6pm.
Two examples-
a- When I am travelling back from London to home on the edge of the Lake District after 4.30pm I will always have a through ticket to my final destination, even if that costs me a few £ more than dividing the journey into two tickets. Thus my intentions are clear to rail staff. The 4.30pm gives me options and plenty of buffer time before my last train from Carlisle at 10.09 pm.
b- I live on the Cumbria Coast. The last train all the way down the coast (from Carlisle to Barrow) is at 7.09pm, although there are later ones until ten pm part way down to Whitehaven. Last night the 7.09pm to Barrow was cancelled as was the 8pm to Whitehaven, both due to staff shortages. So intending passengers were put on the 8.55pm to Whitehaven with a special connecting bus to Barrow at 10.15pm running all stations. It is only a 45 mile journey but knowing that road all too well and the diversions to remote stations they wouldn't have got to Barrow until well after midnight.
However people were also given the option of going on the WCML down to Lancaster, connecting there for Barrow. That probably got them to Barrow before the 7.09 train down the coast would have.
Also if disruption is announced early enough in the day then on all ticket types you can travel up to two hours early if that suits you.