Walmart will cut or relocate about 1,000 corporate workers as it combines global technology and product teams under a broader AI-focused reorganization.