Fashion retailer H&M has been criticised by labour rights groups for potentially endangering hundreds of workers at its supplier factories Bangladesh because they have fallen behind on fire and building safety repairs.