US medical-device maker Medtronic will buy its Irish-based competitor Covidien for $42.9 billion, the company said late Sunday.