Hypothesis: nicotine is a nootropic [0] good for say, 6 IQ points on average (Danish study I saw referenced, not linking unless I can find the original paper). The Hoover Dam and many other great infrastructure projects were created in the earlier 20th century when smoking was pervasive. Perhaps we were somewhat smarter in aggregate back then and that's why we can't engineer infrastructure at the same level anymore.
0 - https://www.scientificamerican.com/article/will-a-nicotine-p...