Tributes flowed in on social media after AB de Villiers called time on his playing career.