Analysts favor companies that supply EV manufacturers or develop technology to support infrastructure and autonomous driving.