South African companies MTN and Shoprite closed stores in Nigeria on Wednesday in the face of attacks targeting their premises in retaliation to similar violence in their home country.