If we get to WWIII, investors are trading cans of food, not stocks. Wall Street will be a crater.
There's different possible outcomes of course, but I believe only in the absolute worst case (dozens of nukes across Europe and North America) do the banks stop caring who owns Amazon, even if Amazon is manufacturing attack quadcopters.