Google pitched the image-generation integration as a way to help you visualize history, but people quickly harnessed it to 'violate our policies,' the company says.