The company behind the metal in cans, cars and aircraft has built a business around the return trip. Its $5 billion Alabama bet shows how expensive closing the loop can be.