A former cabinet minister who lost his seat at the general election claims he has been automatically rejected for jobs by Artificial Intelligence (AI) software because he does not have a degree.