From the railway boom to the early internet, history is littered with investment frenzies that ended in costly overcapacity - and now investors are asking whether tech giants are spending too much on ...