So perhaps in the two scenes where Kyoko and Ava are together and unsupervised, Ava convinces Kyoko to go rogue. I find this reasonable, although if Kyoko was content prior to this, it’s unclear to me why she went into Ava’s enclosure during the final power outage.