Railroads faced the same backlash that AI data centers do now: deforestation, displaced towns, corporate greed. Here's how that story ended.