TOKYO/SEOUL (Reuters) - Sony Corp has agreed to sell its nearly 50 percent stake in an LCD joint venture with Samsung Electronics to Samsung for $940 million, the Korean firm said on Monday, as Sony struggles to staunch red ink at its TV business.