Artificial intelligence, loyalty card companies draw venture capital funding