Didn't Hasbro and Tomy create Transformers explicitly as a marketing/ sales vehicle?
Of course this isn't just a Western phenomenon, the video game/anime/movie/card game/merchandise extravaganza that is and always was Pokemon being probably the best single example.