Robots will take on your job and you are out? It is not quite that simple. Indeed, occupations rarely disappear, but they do change. Some tasks are automated; others continue to be performed by humans, even if they can be automated. New tasks are being added, most importantly to be able to deploy the new technologies.
Take advantage of the opportunities this change brings with it. Take courage.