A new AI tool diagnoses migraines accurately but raises concerns about healthcare inequality.