These companies promised a revolutionary way to deliver fresh food to cities. It turns out that’s very expensive. When the market was booming, tech investors poured billions into companies designing new ways of farming.