I suspected that Brian Micheal Bendis could have actually had this happen in the comics. Not because I am Anti-TG, but because I think some disturbing things were implied in Mighty Avengers about Hank Pym and Ultron when Ultron decided to remake herself into a female copy of The Wasp/Janet Van Dyne because he loved her. That's suspiciously un-robot like and more like from the strange brain an abused and tortured man.
If you understand what I am getting at, ask yourself this. You are an Avenger, and you have little respect that your fellow Avenger wife hits on your Avenger team mates all the time, you build yourself an all powerful sentient robot because....
A. You want to prove to everyone how smart you are... B. You want to impress your wife C. You hate yourself so much, you want to build a more powerful and mightier version of yourself to go kick all their @$$es
And if the answer is C, then want do Ultron's actions say about Hank Pym?