In this universe, a researcher is researching AI. AI are banned (in the galactic community?) because although the technology is not difficult, they always become insane and destructive.
So an inspector (might be an alien) visits the researcher and is asking questions when a little girl interrupts. The researcher asks her to let the adults talk and directs her to a pile of toys/blocks.
At this point the inspector gets suspicious and asks what the little girl has to do with the research. The researcher states that the little girl is the physical vessel for the AI, which is housed in some servers nearby.
When the inspector asks they would go to such lengths to simulate a childhood, the researcher is shocked and asks back (paraphrased):
You mean you create an intelligence and just dump the entire world on it without letting it grow? No wonder all your AIs go insane.
I think I read this in a (series of?) collection of asimov-esque sci-fi short stories, but other than that I have nothing to go on.