HSBC has warned that it will close the accounts of 28 palm oil producer customers that are failing to meet its sustainable agriculture policy.