Intelligent electric vehicles