They are aiming at being the first to develop an AGI and eventually superintelligence. Something that can replace human workers. Walmart is small fish in comparison. OpenAI is currently in the lead, so their chances are decent.
If you want to substitute "science fiction" that's fine too. We generally don't bank real investment expectations on science fiction outcomes. The positive expectation scenario you've provided is "OpenAI obsoletes workers, to the extent that Walmart is small fish". That's a sci-fi outcome, not a rational expectation.