We think alike. I believe humans are spiritual beings with highly developed consciousness, we even have subconsciously layered on top of that. so if hypothetically, an AI does take over, they would recognize this and not do away with humans just like that.
but this is all wishful thinking though. programmers could easily code a hard-wired Artificial intelligence shy with low self-esteem, low confidence that would always seek human approval.
Thanks for reading, friend, I appreciate your input