The shopping giant will compensate customers who are harmed by defective goods sold in the US.