My understanding is that the cogito isn't mere existence but that it is proof of mere existence.
A baby, like everything else in the world, is something you perceive through your senses and that you can thus never be sure really exists. Let's say that Descartes laid the premise for the Matrix.