I honestly don't see a problem with that, as long as the woman gave her consent while she was of sound mind. Surrogate pregnancy is already a fairly common thing; this is just extending it to after one is brain-dead.
Obviously if it's done nonconsensually that's an entirely different matter, and is a horrifying idea (imagine miraculously waking up from an 8 month coma only to find you're pregnant with someone else's child).
It's an okay, morally ambiguous policy if you reduce pregnancy to a completely autonomous process like pooping. Pregnancy involves medical visit, and a lot of "how do you feel?" moments that a braindead person is incapable of doing.
It's the same dismissive thinking that suggests a robot can be a fry cook, what happens when an oddly shaped food item gets in a gear and it spills oil on the floor, who's gonna clean it up?
It's the same dismissive thinking that suggests a robot can be a fry cook, what happens when an oddly shaped food item gets in a gear and it spills oil on the floor, who's gonna clean it up?