Ford said it had developed a smart algorithm that could support increased electric vehicle use, especially in cities, by identifying the most beneficial places to install charging stations.