A Study on the Application of Artificial Intelligence in Ecological Design