Another way to look at this: the government has various estimates for the value of a human life. It averages about $7MM. The "extraordinary" expense of this child actually only requires a 14% increase in value over the average citizen to make sense.
Most importantly though, we must recognize that the actual cost is actually just the cost of risk spread across society, so instead of one person taking the brunt of this cost, we as a society take it together. As a whole, it is negligible on all of us, and it's a risk that any of us can fall into. The value of having a system that supports each other is invaluable. Way more valuable than a measly $1MM. We have strength in numbers and we all benefit when a society supports each other. If we ostracize the statistical outliers in this support system, then the support system itself (the one which we all benefit from) falls apart.
In short, more important than the economic argument (which I argue, still makes sense to spend $1MM on a baby), is the argument that the value to society from supporting each other results in a negligible cost for individuals and a near-priceless benefit to everyone within that society. It's exceptionally difficult to put a price tag on that, and it's orders of magnitude higher than $1MM.