This seems related, but it doesn't look like it ever got released:
https://www.slotforum.com/forums/index. ... opic=65801There is also a commercial Android game for kids made in 2014 or so.
Edit: there is also a commercial Windows/Apple game on steam called "HTR+ Slot Car Simulation" and another one called "Virtual SlotCars". Would have never thought this is so popular. I just remember it as a quite boring kid's toy.