Fashion retailer H&M Group is investigating claims that it was breached.