If a deal materializes, it would mean Amazon is backing competing startups in the race for AI supremacy.