San Miguel Corp is selling its domestic beer brands and brewing operations to its San Miguel Brewery subsidiary for around PHP39bn (US$839m), as the Philippines group looks to expand in other sectors.