To put it simply there aren't any games that allow you to rape another player. (People won't like me saying this, but) this strikes me as a moral panic over something that isn't possible.
The games industry is rather hesitant to even program anything (consensually) sexual let alone sexual assault. The game would simply be refused classification.
What is likely here is something similar to "teabagging" where a fully clothed avatar crouches and stands repeatedly to simulate putting the avatar's testicles onto another player. There are no programmed testicles and there is no programmed "sexual assault" button.
The Times article about hacked code relates to another game decades ago. What is likely to have happened here is that someone simulates actions via hands (as genitals aren't programmed) and then the player over the microphone is saying that they are raping you. I would imagine that the most that they could do was to simulate masturbation.
It's unpleasant behaviour, but I think this is sensualist headlines with deliberately ambiguous details of what actually happened.