Safer brain surgery using AI possible within two years