Electric cars have ticked off a major milestone, surpassing petrol cars in monthly sales for the first time in history.