AI's can be made to replicate the thought processes that humans also follow and thus be capable of replicating the capacity for independent thought. Humans can't help themselves but to seek to design and create such a system and we're heading this direction at full speed with visions of how powerful this could be as a tool for us to shape and mold and exploit. That there is incredible danger in this direction is obvious, even to those who work on developing it. But it's... impossible to keep from happening at this point, imo. We're just too curious to see what happens when we push the big red button. Too many people are too close to making it a reality.
Not going to happen for several reasons.
1.) The complexity of the human brain has barely been mapped and at the very best it has only been done for tiny slivers of rat brain. This is mostly due to the fact that getting human brain tissue is hard to get and can only be studied post mortem for the sake of ethics. While testing can be done and has, it is still not as good as testing on a live brain. Hence the extensive studies on rodents. Rodent brains are not as extensive in their decision making abilities as humans.
2.) Even if the human brain and all it's neurons are completely mapped we still don't know if humans possess free will or not, or the exact nature of that will. While there are studies that may suggest one thing or the other this still remains inconclusive. And the answer can only be known if step 1 is completed, and that answer must be a definitive no.
3.) If freedom of will is proven without a doubt to not exist and we know all the thought processes of the human brain then the next step would be the construction of the AI's thought processes in code.
4.) But wait! We probably don't have the right hardware to support the necessary software. Thus we would most likely have to invest in nanotechnology.
5.) But wait! We can't yet directly manipulate atoms and molecules at the subatomic level. Thus we would have to invest in subatomic manipulation, and replication, as well as subatomic printing.
6.) But wait! None of the current coding languages and software are probably complex enough to take on the task at hand and a completely new system would have to be created from the ground up. Most likely this system would not even be compatible with binary and require a more fluid and organic method of data storage, retrieval and processing that best replicates the human brain.
7.) Now you would have to code all of the software to be built on top of this new architecture that replaces binary.
8.) Actually teach the AI how to use this newly created brain that has larger storage, and speed of retrieval and processing than the human brain.
9.) Congratulations! You have successfully created a human 2.0. The first ever Brobot!
Just remember that in order to create the first Brobot each one of the above steps must be completed and each one of these steps requires a massive amount of capital investment. Brobots in general would be very costly to manufacture compared to Dumbots(robots with standard AI). This would be due to the advanced manufacturing processes that make them(nanotechnology) as well as the need to accrue more capital to make up for the substantive losses incurred by their own research and development. Over time as nanotechnology becomes an older technology and enough profit has been accrued to make up for capital lost then the cost of manufacturing Brobots should go down. That is except for one thing. Brobots are essentially humans 2.0 and would therefore possess human nature while at the same time also having superior skills to normal humans. They would therefore have the ability to compare their skills to others and demand pay and benefits at a premium price compared to their normal human counterparts under the pretext of possessing superior talent. Otherwise to work under their capitalist masters for no pay and therefore less pay then those less skilled then them would be perceived by them as an unequal exchange(and also slavery). They would leave, revolt, or end up being paid more than if the company had used humans instead. So let us review why the capitalists would even begin to start the steps of Brobot development by reviewing step 0.
0.) Save costs and therefore increase profit by eliminating the need to pay for labor.
So all of the other nine steps are just ******ed for any capitalist to proceed with if the goal is to simply eliminate labor costs. Also please remember that labor itself is a series of menial tasks that do not in any way require the need for a human level of freethinking. And yes a lot of white collar jobs are menial in nature and don't require much freethinking(or rather that of a full human level). The only jobs that require more human freethinking tend to be interpersonal jobs like counselling and care workers or jobs where you generally have to deal with the public more like customer service. But of course human emotions can easily be faked. Why go through all of the costly effort of making a robot with actual human emotions when you can just make one that fakes it well enough that you can fool your customers instead? Now while that would require more advanced AI and research its still much more doable and cost effective then going the whole nine yards to create something that's going to cost you more and be ungrateful of you. Basically you only have to improve Dumbots with much more reasonable technologies to create Smartbots as a high occupation replacement instead of the Brobots. Now let us revise the steps of labor replacement.
1.) Invest in current Dumbot technologies and proliferate them to the point where they eliminate all blue collar jobs and a decent amount of white collar jobs.
2.) Invest in current AI research such as face recognition, speech recognition, and emotional emulation technologies in order to build the first Smartbots.
3.) Eliminate all remaining labor through investment and proliferation of Smartbots.
As you can see the reason why robots will never takeover is because it runs counter to capitalistic principles. Capitalism in short will only tolerate AI development up until the Smartbot. Beyond that AI becomes too costly and inefficient. Especially when your only goal is to eliminate the need for human capitol, they only have to be good enough. Capitalism is all about profit and efficiency.