An obvious way is to require some sort of deliberate indication that the user wants shopping results, like a separate pane, or a prefix to the search term. It's a problem largely because it's searching Amazon even when you're just looking for a file on your computer.