Design and Optimization of AI-based RIS-assisted Integrated Satellite-Aerial-Terrestrial Communications System for 6G