Agricultural practices are undergoing a seismic shift as farmers and start-ups contend with feeding an ever-growing urban population.