We tend to separate people when there is a good reason (but not always), sometimes that does include race or sex so charities that deal with sickle cell disease tend to work with black people and offer screening to black people.
If you are planning to have children with someone you don't usually do genetic testing unless you are aware of a disease in your family or are part of a community where a genetic disease is prevalent so if you are an Ashkenazi jew you may well be offered testing that wouldn't be offered to someone with no Jewish heritage and that is fine. It is not racist because there is a good reason for it.
Female only Gym and swimming sessions are also there for a good reason. And if sexism didn't exist would not be necessary.
Some jobs are exempt from antidiscrimination legislation and they vary from acting jobs to caring to working in a refuge.
Saying something is 'typical' when it clearly isn't is just something you used, consciously or not, to show that you believe you are superior is not a good reason to say it.
In the words of a friend who just happens to be black and female, "I have been discriminated against because I am a woman far more than for being black".
If you look at apartheid South Africa and the segregated USA black and female have many many similarities, the toilets the privileged group use have more facilities, the education is better and expects you to continue as the privileged group.
When you leave education you will be interviewed for jobs by the privileged group who are looking for someone like themselves.
If you are attacked for no reason then if you are one of the privileged group the crime will be reported and you will be believed, you will not be told it is your fault, not be believed, be arrested as a suspect or asked what you were expecting being in that area, particularly if it is at night.
If you are on trial and guilty your punishment will be less if you are part of the privileged group, if you go to prison you will probably be kept close to home where friends and family can visit if you are part of the privileged group.
Do you know why women's equality was enshrined in law? For a joke.
When legislation was being drafted in the US in 1968 to stop racism and race based discrimination someone included women as a joke group after colour, religion, country of origin etc.