Mazda is shifting to hybrids as more automakers pull back on their EV plans.