Infrared power-law galaxies in the Chandra Deep Field South: AGN and ULIRGs