From India’s polluted cities to drifting plastic in the Pacific, AI is stepping in. Researchers and NGOs are using smart tools to track, predict, and protect.