Agriculture everywhere is a 1. low margin 2. labor intensive enterprise that requires 3. careful planning, 4. careful execution combined with 5. good stable investment climate and 6. property rights protection. In the relatively harsher climate of Russia the 3. and 4. becomes extremely important while Russians are among the worst people in the world when it comes to the 3. and 4. The 5. and 6. in Russia are among the worst due to its people's general contempt for entrepreneurship and due to dis-functionality and corruptedness of its government at all levels. While when it comes to oil/gas, piping it from the ground beats apple growing by the orders of magnitude wrt. the 1. and 2. :), and the 3. and 4. are partially solved by having foreign companies perform the complex drilling (and kicked out of the country after that :), and giving such high margins the 5. and 6. are solved in oil business by merging with the state which isn't an option for farmers. In short - having oil/gas is a big misfortune for Russia in the long run.
Also, let's not forget the last time merger of farming with the state happened in Russia. The problems with 3 and 4 wound up causing a significant number of deaths.
let me tell you a story. In 1996 a Dutch farmer came to Russia to farm potatoes. His plan seemed flawless - availability of a lot of cheap good for potatoes land plus his skills. He rented the land, planted and tended the potatoes on it. By the harvest time his potential harvest seemed very great. Almost miraculously great - like several times compare to the potential harvest from the nearby fields of the Russian individual farms and remnants of collective farms. And his potatoes were just better in size/shape and overall quality. Well, people from nearby villages and towns started to come to his fields en mass and harvest the potatoes for themselves. Including local police people coming and loading the potatoes into their official police SUVs :) A Russian national TV crew came and filmed a story about it right during daytime :) I'd say that was a Russian specific "force major" the farmer failed to plan for :)