Any machine AI is still a machine, which will do what it was programmed to do. Computers can be programmed with complex logic, but the logic comes from humans and includes the assumptions of the human logic, but not generally in the ways we think of human thoughts and feelings.
It is possible to write an AI which is programmed to work with logic or generate its own logic and values, in ways that the programmers won’t be able to predict what it will come up with without running the program, but it still comes from humans, includes their assumptions, can only work with what data it can collect the way humans have provided ways for it to have information, and so on.
It’s not possible to make general predictions about what AI’s in general will or won’t do.