Shell has signed an agreement to buy 100% of ubitricity, a European provider of on-street charging for electric vehicles (EVs).