A woman not producing milk is actually exceptionally rare. If it was as common as it is made out to be nowadays, the human race would not exist. I would say around 60% of mothers say that their milk didn't come in or they didn't produce enough milk (I was told the same thing with both my girls, that I didn't produce enough milk, but the second time round I'd done my research). In which case talking anthropologically, you are talking about a species wide extinction, if that was actually true.
Sadly its more to do with the ignorance of breastfeeding and what is natural, that make mothers "not produce enough milk" or that "their milk doesn't come in". It can take up to a week for the milk to come in, especially in first time births, and traumatic births. By which time some uneducated medical professional, has introduced formula to a very panicky, often inexperienced mother... Babies are born with vast amounts of brown fat to compensate for this though. This is fat that they use during the time they are born and the time that the milk does come in. Most medical professionals go by formula fed baby weight charts which obviously show a baby gaining significant weight in a short period of time after birth... but this is abnormal. Breastfed babies feed constantly, and need to be cradled next to you near the breast as often as possible, to allow them freedom to feed. This is obviously constricting in todays modern society, you can't walk around with your boob hanging out, but human evolution never took into account humans and their current beliefs.. But then many natural things have been sacrificed because of modern society.
This leads people to not put the baby to the breast that often, and they therefore tell their body that it doesn't need to produce so much milk, which it needs to because in those first few weeks your baby grows faster than at any other time in its life. So your baby screams at the breast because it isn't producing enough.... And once you bring formula into the equation., your body never produces enough unless you actively take the formula out, experience several sleepless nights, and a screaming baby all day to bring your supply up to what it should be.
IMHO babies shouldn't actually be separated from their mothers for at least 4 months. It means carrying them everywhere, feeding them all the time, sleeping with them... but that is just what feels natural to me. They have just spent 9 months cared for in your tummy in every way, never felt hunger, never felt cold, never felt pain, never been exposed to harsh bright light, and within one day we expect them to be separated from us, left in a cold empty moses basket, and fed every 2/3 hours like it says on the tin... it seems cruel almost
Breast feeding is very labour intensive. Its harder than pregnancy too especially with so much medical intervention telling us what is right and what is wrong. Its a skill both mother and baby need to learn.. .and any one who has learnt to ride a bike or to speak another language knows that it doesn't come over night, and a lot of hard work and effort need to be applied in order to succeed.