The only way for them to survive is also to adapt it. And don't you ever worry about that thing right now since it will have a long time to happen.
You are right cashless world is not going to happen soon so there is no need to worry and I think by that time everything is going to be operated with machines so we expect that the world already know how this thing works.