I mean EVs are a change in power source, with an increase in energy efficiency even. AI is a brand new massive energy draw that isn't really reducing much elsewhere, and with a huge question mark over how much value it brings to the vast majority of the population.
I'd say the people complaining about AI likely see EVs as having some utility. While AI may have some utility, the amount of resources invested seems to make it more of a ponzi scheme waiting to pop.