Samsung shares hit an all-time closing high on Thursday as investors cheered the company's turnaround plan.