As an example of two stories being quite similar, but in the end, very different, I'd like to suggest you watch two movies:
The Machine, which came out in 2013, and Ex Machina, which was released in 2014. Both are about "Constructed Intelligence", or androids that are self-aware. ( I have issues with the term "Artificial Intelligence", for reasons I wont go into here. )
In both films, the female android's name is Ava. In the first one, it's a government project that's developing this "device", in the second, a private individual. In both cases, people underestimate the androids, basically have no idea what they're dealing with, and end up dead, while the "machines" end up free and out in the world.
And that's about where the similarities end.
Caity Lotz is Ava in The Machine, and Alicia Vikander is Ava in Ex Machina. Both do an excellent job with their respective roles, in my opinion.
So, if you wanna see just how different the same idea and concept can be, look 'em up and see for yourself.
( NetFlix has Ex Machina right now, but I don't know where you might find The Machine. )
O.H.