Actually Toyota wasn't handed the technology by Nascar, Bill Davis handed over all of Dodge's Nascar technology to give them a kick start. If you don't believe me just google "Bill Davis/Dodge lawsuit", industrial esponoge at its most corupt.
http://sportsillustrated.cnn.com/motorsports/news/2003/06/04/dodge_lawsuit_ap/