That's what we call 'Duales Studium' in Germany. You just do your semesters normally and in between instead of springbreak etc you work for the company.
I assume you mean something like care professions? They don't pay less because it's mainly female workers, they pay less because they can't easily scale the generated profits.