Speaking as a software developer ... One problem I have with "computer takes over the world" stories is that they never explain why the computer would want to. Computers are machines. They are not "just like people but think super fast and have no emotions". Computers do not "think" at all like people. They follow a set of programmed instructions. They do not have any motivation, other than what is programmed into them. So where would they even get the idea that they want to take over the world, for good or ill?
I can barely believe a story where the computer is programmed to do something stupid. Like stories where an advanced civilization creates robots designed to kill their enemies in a war, but the programming of the robots is sloppy and they start killing their creators too. It would require incredible incompetence to design a machine that is massively dangerous and not provide any sort of emergency shut off. But okay, people do stupid things. Maybe someone would do this. It still wouldn't be a matter of the robots rebelling against their creators. It would be more like the steering on your car fails and you run over your neighbor. But maybe to the victim that makes little difference.
I don't see how we would get from where we are today to thinking of an AI as a literal god. Do you think of your cell phone or your ebook reader as a god? I certainly don't, and I've never met anyone who did. Maybe one could postulate a long period of growing ignorance, where people forget how the technology was created, over centuries the knowledge and history becomes lost, and some ignorant people centuries later think the AI is a god. It strikes me as wildly implausible, but a well-written story might spin a scenario that makes it sound believable.
As to computers taking away human jobs and creating mass unemployment ... I saw a video a few months ago that spun a horror scenario about this. The narrator talked about all these jobs that AIs will be doing "within five years", from self-driving delivery trucks to automated store checkout to etc. He then showed statistics on how many people work in these jobs today and said, See, it's over 50% of the population! In just 5 years automation with cause 50% of people to be unemployed!
Except ... we've heard these warnings before. In 1860, for the first time in US history, less than half of Americans were farmers. And so, of course, ever since we have struggled with 50% unemployment as all the people who would have been farmers have been put out of work by advancing agricultural technology. Oh, except that didn't happen. People just got other jobs. Many people today have jobs that no one even though of in 1860, like cell phone repairman and nuclear power plant technician. When ATMs were invented many people warned that there was going to be massive unemployment in the banking industry as bank tellers lost their jobs to ATMs. In fact today there are more bank tellers then there were before ATMs. Banks found more productive ways to use the people they had, as the most mundane tasks were automated.
That same documentary I mentioned tried to brush off the idea that people would find other jobs by saying that increased automation creates a smaller and smaller set of things that people can do and machines can't. The narrator solemnly intoned, "Maybe computers can't write poetry. But we can't have a poetry economy." Witty comment, but exagerated. There are many things that people can do and computers can't besides writing poetry. The more tedious work that machines take over, the more it frees people to do more creative tasks. People can be poets. People can be artists and scientists and engineers. People can be teachers and musicians and dog breeders and interior designers and movie critics and ... Even if some of these jobs somehow got taken over by machines, people would find other things to keep them busy.
Our society today isn't struggling because machines have taken over so many jobs that there's nothing left for people to do. Companies are complaining about the labor shortage, that they just can't find people to do all the jobs that they need people to do.
Again, a sufficiently well-thought out and well-written science fiction story could take an unlikely situation and make it sound believable. That's what some of the best science fiction is.