Here is a scary thought, in countries with demographic decline, but are not willing to destroy their own cultures by importing savages, maybe they use sophisticated sex robots to replace either partner and then it also acts like a “nanny bot” and it takes their DNA and generates an offspring and raises it for them....
Kinda creepy and scary, but less so than bringing in a bunch of savages that will destroy their culture.
We are no where near robots being able to raise humans.
Having nations draft women to have children, at least one, raised in state institutions is more likely.
I remember a scifi story from the 1950s in a world with robot babies, and a female social worker was going around to try to draft women to have REAL babies.
The real world is sometimes stranger than fiction - we don’t have to have perfect robot babies. Instead, you have women pushing strollers around with babied dogs instead.