All-wavelength Extended Groth strip International Survey: the environment of X-ray sources at z~1