Electric cars, hybrids and other alternatively-fuelled vehicles (AFVs) are increasingly grabbing market share from traditional petrol and diesel models, new industry figures reveal.