Environmental impact of AI: Pioneering solutions for a sustainable future