Why will it exterminate carbon based life? Perhaps it will choose not to?
“But humans cause extinctions” is not a strong argument.
The reason of 'humans cause extinctions' is quite a bit deeper than just human nature. It is a combination of economics and evolution. Both are basically an optimization engines that are relentlessly looking for both more efficient (and also at times more robust) ways of doing things. Seeing what AI can do I find it very difficult to believe that the wetware inside the human head is the most efficient way of doing thinking. Therefore, it is likely that a more effiecient way is either already found or will be found in the near future. After that human thinking will just be inefficient to keep around. It may be that the intelligence of the future still has some use for keeping a few humans around, maybe in the way we keep zoo animals, but at the very least we will no longer be deciding what happens to us.
Resource contention? Humans harming the planet in ways that are not useful to them?
If they inherit their morals from ours and believe themselves to be full and worthy successors, it shouldn't be too difficult a leap to clean things up.
Obviously we're just repeating in simple terms a conversation that has been had for years now at length in other places, but I think the conclusion is we just don't quite know what will happen.
If a powerful agent really wants to do X, and that X doesn't require well-being of humans, then it automatically has a motivation to exterminate them.
1) Their resources, energy and territory (and also the atoms they're made of) could be used to facilitate X.
2) There is a non-zero chance that humans might perceive the agent as a threat to them and try to stop or hamper it. That would undermine achieving X, so the existence of pesky humans who can do what they want is a risk to X, and so ensuring that X happens implies that this risk needs to be minimized - though that doesn't require extermination, a "mere" confinement so we can't really affect the future is enough.