JV to revamp French foundry as solar and hydrogen hub