The home improvement retailer plans to revamp its loyalty program for contractors and expand the use of AI to grow its market share.