Target announced its first-ever chief artificial intelligence officer on Tuesday as retailers race to take advantage of the AI boom.