Society is not the reason men dominate workplaces. Rather, the innate intellectual and biological differences between men and women cause the two genders to occupy different spheres: home and the workplace.
Men dominate senior positions and leadership roles in the technical field because men are more assertive and dominant. Women tend to be nurturing, communal, and cooperative, making them less suitable for leaderlike roles. 
Furthermore, according to research using the Wechsler Adult Intelligence Scale, men's IQ is slightly higher than women's. 
It is not because of society that men outnumbered women in the technical field but because of the biological and intellectual differences between them. The workplace favors masculine nature, which is more intelligent, assertive, and dominant.