The biggest problem I'm facing right now is deciding what to learn in a future that might render all of it obsolete. I love learning about AI and its workings, but can I make a significant impact on the field before AI becomes self-replicating? I highly doubt it, and this weighs heavily on my heart.
FYI: I came across this comment https://www.youtube.com/watch?v=eD5GlCIS0sA&lc=UgwvZRhElDZoj5NPsqt4AaABAg and decided to post it here in an attempt to start a thread about it. I'm sure there are plenty of people grappling with the same issue.
Second: There has always been this threat; you're just more aware of it. Many farmers became obsolete due to mechanized agriculture. Many factory workers became obsolete due to automation and/or offshoring. Elevator operators. Telephone operators. Typists. And on and on; there's a long history of jobs disappearing. Try to be able to do more than one thing; it gives you more options.
One strategy might be to try to get better at relating to people. In the future, an AI may be able to give you an answer, but it can't give you a believable smile. Humans still want human contact; there's some value in being able to give it to them.
The future belongs to those who believe there will be one. Or, put the other way around: Those who give up in despair because they think that there will be no future will find that there isn't much of one, at least for them. Don't quit in despair. Keep trying to learn new things and new skills.