Retail giant Wal-Mart has scrapped a line of T-shirts bearing a skull image that resembled a well-known Nazi symbol.