AI Perspectives in Smart Cities and Communities to Enable Road Vehicle Automation and Smart Traffic Control