Some analysts believe that if banks adopt wider use of artificial intelligence in customer analytics, similar to online retail giant Amazon, they could vastly improve the industry’s capabilities in an area in which it has often struggled in the past.