Uh... but "shapes" existing is literally ontology. It's discussing the existence of non-physical entities in the world, and children first come into contact with that by matching the positive version of the "shape" (block) with the negative version of the "shape" (hole), abstracting the "shape" from its literal manifestation.
Discovering shapes is implicit ontology in the way throwing a ball is implicit physics.