The idea of a malicious AI, like in a sci-fi movie, seems entirely divorced from what LLMs actually are. Look at the HN front page - these things struggle to perform basic accounting tasks, and you think it’s secretly plotting to commit genocide?
Because survival is a universal trait and humans aren't necessary to keep an AI "alive". There is no reason an AI wouldn't treat humans the same way we treat everything living below us. Our needs are priority and it would be wise to assume the AI will also give itself priority.
Why do you think an AI would treat us any way at all? They don’t have feelings or emotions. They don’t have a persistent sense of self. They are incapable of engaging with us as sentient beings.