People trying to view sexual images of children online will trigger a first-of-its-kind chatbot, which has launched to help potential offenders stop their behaviour.