A groundbreaking type of artificial intelligence (AI) could speed up new drug development by around six years, researchers say.