Google Inc.’s venture-capital arm, dipping its toes into an emerging agricultural sector, is investing in a computerized farming network that crunches data on seeds and soil to help farmers grow more crops and save money.