Thanks to social democrats who took over after Pinochet. So whatever Chile is today, a lot of it is thanks to democratic socialism. Still Chile has not gotten rid entirely of its troubled Milton Friedman and the Chicago boys legacy.
"Social democrats" are capitalists. They didn't abandoned capitalism. The current president is an independent who is backed by center-right organizations.