Ancient human endogenous retroviruses contribute to genetic evolution and regulate cancer cell type-specific gene expression.