From Youtuber SubParButInHD:
I used to do this all the time in GTA San Andreas, however it wasn’t possible in IV, since you couldn’t spawn multiple cars using cheats. Luckily, it’s possible again in V, which makes for a ton of hardware punishing fun. A week ago I played around with the train a little, yesterday it was the plane, and today it’s just all out car pile-up chain reactions!
Luckily GTAV can handle a ton of cars at the same time, so some of the later clips have well over a hundred cars, all working as little domino pieces waiting to be knocked over. I don’t have exact numbers, as I can’t be bothered counting them all, but I did count approximately 120 cars in the last clip.