Samsung’s foray into making drugs looks a financial winner.