The Commonwealth and Queensland governments have sealed a partnership with Australian mining giant Rio Tinto Ltd (ASX:RIO) for the long-term future for the Boyne aluminium smelter at Gladstone that involves major investments in renewable energy.