That must've been a series or something because there was also a reverse TD called Anti-TD where you spawned the monsters instead of building towers. Dunno if towers built by random or by AI but it was pretty cool.
Another reverse TD called Villainous exists on Kongregate but it's a bit more "standardized", and imposed a somewhat small limit to the units you could spawn, probably for strategy over zerg rush.