This is hardly unique to Islam, many of the more hard-line Christian sects (Jehovahs, Christian Brethren, etc) as well as Haredi Jews also shun apostates.
The main difference is that in countries with shariah, apostasy is not just a sin, it's a criminal offense.