Nissan has planned to build battery recycling factories in the US and Europe to lower costs for electric vehicles.