German agricultural machinery companies are reaping record profits — in part because farmers are upgrading to cope with climate change.