AI is now being tested to protect the UK's endangered red squirrel population.