Pension "mega funds" will be created under government plans to increase infrastructure investment.