You know how robots work in 1 and 0s? a binary system. The human brain uses a senary system, from 6 to 0s. So we are still very far from making a computer like the human brain.How can we prevent humans ending up feeling inferiour to robots, cobots, computers and machines as these take over for our skills, jobs and talents?
However, while humans are all-purpose, computers have very specialized tasks, that's why they beat us. You have a computer that's very good at cleaning your house, and not much else. You have a computer that's very good at finding you that song you liked, and not much else. Computers only have to worry about their task-specific purposes as this is how humans designed them. Humans had to worry about survival above all else.
But even making abstraction of that, ultimately there's no reason to feel inferior to computers. There's humans and there's computers, why should you feel inferior? To feel inferior, it means you make a value-judgement based on your own subjective standards or worth and compare it to computers, simply make no such value-judgement. The computers may be better than us in some areas, so what? isn't that the purpose? isn't that why we made them in the first place?
I hope with don't get to kill ourselves by creating a criminal AI. We already have enough criminal humans among us, but they are limited, imagine a criminal AI with access to the mainframe, which is what Elon Musk was afraid of. And honestly, I'm with him on this one. It's not like humans have been saints on this planet, so it's not out of the question for a rogue AI to see us otherwise.
Computers taking over your job, it can sadden you that a computer managed to take over your job, or motivate you to push higher limits so that you'll create work of art or learn a new skill for a job that a computer can't replicate, motivate you to stay above computers, your choice, but at least now you are conscious of it.