The UK government is set to charge a pay-per-mile tax on drivers of electric cars in a bid to plug a gap in fuel duty revenues, left by the transition away from ownership of petrol and diesel cars.