I'm listening to the commentary right now, and he rather vividly said that in his own mind the rape was due to the Alien's ravenous desire to reproduce. So, while we might call it rape, it was intended to show the creature spreading its seed and making the destruction of the Nostromo a must on Ripley's part.