An Australian company will create a recycling plant for the batteries used in households and electric cars after a multimillion-dollar investment.