Whereas I think more automation is the way forward as a tool to help operation staff and cut costs, it's nowhere near as simple as it may seem.
Operating a real railway is multifaceted and still depends heavily on experienced operators applying rules and regulations, and well as using flexible iterated approaches to dealing with situations. The railway is as much about people as machines, it is full of legacy systems, and like any mode of transport is affected by freak occurrences (weather, failure, mishaps).
Automation needs to have a point. One point could be to save money, and this has been done with signalling systems over the last 100 years or more. Long sections of automatic semaphores were introduced as long ago as the 1920s.
Another point is to make systems more safe, and there is no question by and large machines are generally safer than humans at many (especially repetitive) tasks. They are not however infallible, because they are only as good as their designers at anticipating freak occurrences.
In the next 20 years I can see the railway using computers more for traffic regulation, data monitoring, systems performance. They could be brought in to manage engineering possession management more safely and effectively. For train driving itself, whereas we have got technology to do the nuts and bolts of driving trains, we are not quite there with doing all the duties of the driver (or signaller for that matter). It is much more than 'pressing buttons', and despite the 'simple as pressing a button' tag-lines of the 60s, which were somewhat economic with the truth, it will continue to be.
For the foreseeable future will still need someone on board the train, probably in the cab. The trains may well be semi-automatic in the future, but the step to full automation must tick a number of boxes on cost, safety, performance, public acceptance, simplification of working and ability to deal with freak and non-standard working arrangements, as well as failures, public interfacing etc.
There are wider questions over transport in general in future and what the railways are for. The steel wheel and rail has held its own with speed, capacity, comfort over the years and to an extent cost. Nevertheless, what other developments might there be in other forms of transport? This might have implications for the railway, but then with some many of these developments it needs to have public acceptance, be practically useful and serve a purpose in itself.