French state-controlled energy group EDF has agreed to buy Pivot Power, a British start-up company that specializes in battery storage and infrastructure for electric vehicle charging points.