A brain child is something that starts as a thought, and turns into something real.
In the instance you are asking about, the brain child is the company that resulted out of the mental efforts and hard work of two students.
A brain child starts as a thought, so you can think of it as a child born in the brains.
Doe that help?