Recent posts on the archetypes of the Manic Pixie Dream Girl and the supportive sex worker have looked at what types of women appeal to men during the restless warm-up phase of the 15-year cultural excitement cycle, as they feel like coming out of their shells and may need a little coaxing from those types of women.
But what types appeal to them while they are still in a social-emotional refractory state during the vulnerable phase? Rather than want to be drawn out, they want to hunker down and escape from their social world. This leads them to prefer make-believe women, blank slates customized to their tastes, so that they don't have to deal with the messy real world and all the social sensory overload that would entail, while still enjoying at least a simulation of a girlfriend.
The focus here is not on all kinds of female robots, but only those who are playing the social role of a girlfriend. They may or may not be physically intimate with the male character.
Why a customized, blank-slate robot instead of a real person with a fully formed personality? Because a woman with her own personality cannot be altered, and the man must adapt his own fully formed personality to hers, and she to his. Unable to change each other, they have to figure out how to work together despite not fitting each other precisely like puzzle pieces. The initial work done in a relationship is learning who the other person is, what makes them tick, and so on. All of this social-emotional effort is too much for someone in a refractory state. A blank slate that is customized to his tastes obviates all of that effort, and makes the relationship feel tolerable.
I'm only counting examples from mainstream or popular works, since I'm sure there are nerds who are portraying such types in paperbacks, b-movies, and animes all the time. Sci-fi and fantasy genres aren't the most popular genres, so movies featuring these types are not too common in any period. But when they do show up, they are clustered in the vulnerable phase.
During the current vulnerable phase of the late 2010s, there was Ex Machina, the Westworld TV series, and Blade Runner 2049 (unlike the female replicants in this one and the original, Joi is a blank slate, made-to-order girlfriend).
During the early 2000s, there was Simone and a re-make of The Stepford Wives.
During the late '80s, there was Weird Science and Mannequin.
During the early '70s, there was the original Westworld movie and the original Stepford Wives movie. Technically, The Stepford Wives came out in early 1975, though the novel it was based on came out in 1972. You can either count that story as from the first half of the '70s, or as the smallest of deviations from the pattern (off by 44 days, compared to the phase length of 5 years).
During the late '50s, The Twilight Zone was the only mainstream sci-fi / fantasy outlet (for movies, these genres didn't get big until the '60s). And sure enough, there was an episode from 1959, "The Lonely," whose central plot device is a robo-gf.
I couldn't easily find any examples from the early '40s, though again the genres were not that popular back then, and there was no TV. Perhaps there was a hit radio program like The Twilight Zone that had one, I don't know.
But from the late '20s, there was the first and most iconic example -- the robot from Metropolis.
There are two possible exceptions -- like the original Stepford Wives, not much of a deviation, though, missing the cut by one year.
In early 1990, an episode of Star Trek: The Next Generation ("Hollow Pursuits") revolves around a crew member withdrawing to the make-believe world of the Holodeck where he re-programs the personalities of female characters who look like his attractive colleagues, so that they fall for him.
Also in 1990, the protagonist's butt-kicking babe sidekick in Total Recall is supposedly programmed as part of his fantasy vacation. I'm not sure this fits the category of a make-believe entity, though. The company messes with your brain to implant a false memory of your fantasy, similar to programming your dreams. It's not an actual thing he's interacting with in the real world. It's akin to specifying what kind of call girl he wants to show up to his hotel room, only in a dream-world. Also, the movie is ambiguous about whether or not the protagonist really goes through with the memory-altering procedure, so this woman may be a real person after all.
I'm excluding Her from 2013's manic phase, since the female-voiced operating system that the protag develops feelings for is not a blank slate that he customizes to fulfill his fantasies. She has her own personality, goals, and willfulness, and he has to learn to adapt himself to her as much as she must adapt to him. This is more of an "odd couple" pairing, specifically the fish out of water type, which showed up in another fantasy movie from an earlier manic phase -- Splash from 1984. But that may be the topic for another post.