The global food system faces growing risks as modern farming practices undermine the resilience of the world's soils, according to new research.