For at least part of Thursday, Google users searching for “Amazon” were shown a phony ad that redirected to a scam website.