You heard wrong. Her relationship with Tony Stark in Iron Man was strictly professional, and if not professional, then platonic. They were never romantically involved or sexually intimate, despite what some tabloids tried to suggest back in the JMS run when Peter and his family moved into Stark Tower with the New Avengers. Oh, and What Ifs? and Elseworlds are alternate realities, not canon to the mainline continuity.