Pretty messed up story when you write it out on paper or in this case text.
A robot becomes "sentient" through a glitch caused by him falling from a window and later in the movie upgrades itself to the point it develops emotions and then upgrades itself further to have skin. Not long after getting skin and sexual organs it starts looking for the original owners daughter only to stop when he realizes his original masters daughter is too old, then targets the original owners daughter's daughter. Almost instantly he forced himself on the bride-to-be (the great great grand daughter of his master) who was decorating her wedding.
Mind you the robot was viewed as family throughout this movie so this would be like a great great great uncle diddling a family member right at their wedding rehearsal before marriage, low effort character development made the ready to be bride lean into it and throw it back on the robot Robin Williams tossing out an unforeseen (or I didn't pay attention) unknown amount of time in a relationship for a robot.
I'm partially sarcastic but it's actually what happened. Not trying to be one of those "offended by everything" types but I don't think the story conveyed the message they were trying to portray lmao.