A man shops at a Walmart store in San Jose, Calif., in September. Wal-Mart on Thursday reported that its annual profits fell.