Nissan is to buy a 4% stake in Russia's biggest carmaker AvtoVAZ from Russian state shareholder Russian Technologies by the end of the year.