Revamping transportation with electric and self-driving vehicles