Mazda’s previous EVs have been based on ICE platforms or other brands’ models; now firm is going it alone