A Survey on the Role of Artificial Intelligence and Machine Learning in 6G-V2X Applications