As far as I understood it, the stoy is told in two time frames in parallel.
The small "child" character is the earlier time and as maxibon98 said, it somehow transforms into the silicon creature of the second, later, time frame which shows the now transformed character walking throught the...