The better analogy is the massive investment in fiber optic cable in the late 90s. All the companies in that line (Global Crossing, Worldcom etc.) went bust after investing 10s of billions but the capacity was useful (with a >90% drop in price) for future internet services. Around 2000 when the bubble was bursting only 5% of capacity was being used but proved to be useful to get all internet-first companies like the Googles, Amazon, NetFlix's going.