With a sequel to the $1 billion hit a long way off (if a possibility at all), Warners is keeping the Mattel momentum going by trying to push forward 'Hot Wheels' while Hollywood questions which toys can realistically become hits.
I'd argue the toy part was relevant for the marketing of the movie. If you change everything to a fictional toy called Narnie, probably no one would watch it even if the movie would probably still be the same.
Barbenheimer marketing helped too.
The point still stands though, movie about toys=! success.