Epiroc, a Swedish company that produces mining and infrastructure equipment, has announced it is buying Wain-Roy, a U.S. manufacturer of excavator attachments for the construction industry.