Mattel, Lego and other toy companies are targeting a growing number of adults who are buying toys for themselves.