When investment rises steadily as a share of GDP for many years, it often begins to shift from good targets to bad ones. In the late stages of a good boom, the number of opportunities to invest in high-return factories or technologies will diminish before the optimism does.