Samsung Electronics became the second Asian company ever to reach a $1 trillion market valuation on Wednesday, as shares surged more than 10%.