Banks are leveraging artificial intelligence to reshape credit card rewards strategies.