One key thing is that a "great" EECS grad student stipend, say the one offered by the National Science Foundation fellowship, is (or was) $25K. Most tech salaries are 2x or 3x that or more. A lot of grad students make less. So if you made $0 for the first two years pursuing industry, then landed a job at $50K, you've made up those two years. (Not really, of course, due to tax issues and the fact you had to defer the money, many grad students make less, etc.)
Another key thing is that if you stay in a PhD program for the full 5-7 years, the economy may change radically around you. So if you stick with it, you forego the higher-paying jobs available at that time. Of course, you could always just drop out and start a company or something at that time...plenty of people do.