I’m not a parent, but going by pop culture, it seems like literally every child has the same fears.
In pre-modern times, I imagine that they’d be sleeping in the same room as the parents, but if modern notions of privacy don’t permit that, seems we could at least design an enclosed capsule or something.
Maybe we don’t need to round every sharp corner we can find. I doubt anyone is traumatized for life because there was a closet in the room as a child.