How AI is revolutionising livestock farming