From my opinion ERP is completely different here. ERP usually store product IDs and other operational product information. When PIM/PDM is focused only on product data and usually guys from marketing team is working a lot with PIM.
PIM is considered part of MDM, because MDM solutions can work in different areas like customers, addresses, etc. While PIM is only for products, so we can call it Product MDM.