HDFC Ltd will buy a 51.2 percent stake in Apollo Munich Health Insurance, the former said in a BSE filing on Wednesday.