Videos of children opening boxes of toys and playing with them have become a feature of online marketing—making stars out of children as young as two.