Merck KGaA is to sell its consumer health business to Procter and Gamble for $4.2 billion, continuing the trend for big pharma companies to rethink their investment in over-the-counter products.