Interesting question with no easy answer.
The Walton family - American - owns 50% of Walmart. The remainder would be held by investors - including mutual funds owned by Americans. As Walmart’s stock price rises, Americans benefit.
Walmart is based in Arkansas and has stores all over the US. The stores provide employment for Americans.
Walmart’s suppliers employ Americans for customer service, sales, distribution, etc. Walmart buys meat and produce from American farmers.
Walmart provides cheap consumer goods which Americans seem to like. China benefits from that part of the equation.
Buy American, yes. Pay Americans like Chinese? No, but then the cheap goods get more expensive.
Why does Apple get a pass? They utilize Chinese labor to a large degree. Most other US retailers (e.g., dept stores, Best Buy, Home Depot, et al.) do the same.
I avoid the local Walmart so I am not defending them by any stretch. Just trying to point out it is not all evil. Or any more evil than any other US retailer.