The UK has been ranked the fifth best-prepared market in the world for the electric vehicle transition despite rising challenges around supply and regulation.