This film is probably from the 70s or 80s and I think was American. All I remember is the hero encounters a couple (male and female, apparently human) in a spaceship on a planet. I think the spaceship interior was orange and the male pilot is a cowboy.
There is a battle going on around the spaceship and the female android is destroyed, I think by laser fire. It's only at this moment that we realise it was not a real woman. The male pilot mutters something about it being shame the robot is dead but in a kind of "shrugging of the shoulders" way.
And then the movie continues with no further reference to the android. It has a kind of Battle Beyond the Stars vibe (ie not high quality effects) and is live action.
I can't find anything like it on Google and am beginning to wonder if I really watched it1. Does this sound familiar?
1 Or if my memory circuits are glitching.