An Australian man used artificial intelligence to design a personalised experimental treatment for his dog who was sick with terminal cancer.