A Japanese traditional coming-of-age festival took place at a shrine in Tokyo for an unusual kind of visitor — robot dogs.