You guys know that on average 20 lbs (roughly 9 kg) of eggplant contain about the same amount of nicotine as a cigarette?
In fact eggplants, tomatoes, potatoes, and tobacco are all nightshades. They all share some similar properties to different degrees.
Still eggplant is specifically notable because it has the most concentration of nicotine of any edible plant. So, sure, tomatoes have some nicotine as well, but not to this extent.