I'm having a hard time finding an old movie from '80s or '90s. It might be a B-movie, I don't remember it having any big stars in it. It is English-language.
It involves a lonely woman ordering an humanoid robot, not designed for relationships but eventually they hook up (sorry for the spoiler). The robot is 100% humanoid, it doesn't look like metal or anything.
The robot is not designed for relationships. The protagonist alters the settings, and makes the robot available to love. The company responsible for the robot says the robot might become dangerous. He eventually becomes so and tries to assassinate the protagonist.
It used to be broadcast on HBO, I think.