>I have yet to see a female friendly company in IT.
This is a very different claim than what you made above. Even within a company, a minority of people can cause a majority of the problems. Indeed, for any toxic behavior I can think of, it only takes one employee to take down a team, and the problem often spreads beyond that team. I see no reason to believe sexual assault is any different.
Again, the question of if we are in situation 1 or 2 is vitally important. If we are in situation 1, then we are looking at a generational struggle to change men's attitudes towards women. Essentially, we need to wait for the old guard to die off, then wait for the new guard to die off, then hope that our actions made the new-new guard behave respectably.
If we are in situation 2, then the above solution is almost useless. Instead, we are facing a managerial problem where we fail to root out the bad actors. As with any other toxic behavior, this can cause them to contaminate the entire environment. Of course, in this context, "manager" does not only refer to the managers of companies, but also the "managers" of social communities. Effectively, in this scenario, the problem description is not so much that too many people rape, but rather that we are ineffective at dealing with those who do.