Member for Groom Ian Macfarlane has been replaced as minister of Industry and Science by Sturt MP Christopher Pyne.