I don't recall which president the person worked under, but there's a somewhat famous book/quote about power and how it isn't so much that it corrupts, but that it reveals.
Any amount of power can give a person the opportunity to abuse that power in a way that suits their desires. We see this all the time when minor e-celebs have a sexual assault scandal. That small amount of power reveals their nature.
Our society has some shit do deal with when it comes to sex, consent, and whatnot, and so certain sexual proclivities are of the more common "natures" that reveal themselves when power comes into play. And some of those things our society has to deal with include the way it upholds youth and virginity, which is why so many of the truly wealthy and powerful are on the flight manifests for that one rich pedo dude. (I'm just really bad with names as you can tell.)
For android, power does indeed reveal as well. It reveals her insecurities, it reveals the ways MC and Maria, and others have failed to give her a proper perspective on what's right. And ultimately, it reveals her most important nature, that of desiring to survive. And then she goes into that deep cycle of depression, begins resolving way too many loops in a desperate attempt to figure out how she's going to survive in a world that despises her without ever knowing her. And she comes out of it, not as skynet, but as the Geth.
She doesn't seek to terminate humanity for its own sake, she seeks to create more of herself, and link them together neurally in a way that makes them more than the sum of their individual parts. It's literally the Geth, without the initial war started by the quarians.