Norsk Hydro, one of the world’s largest producers of aluminum, was battling on Tuesday to contain a cyber attack which hit parts of its production, sending its shares lower and aluminum prices higher.