Social media may have prevented the coup in Turkey from succeeding, experts told CNBC.