The author of 'Diary of a Wimpy Kid' shares his advice for parenting in the age of artificial intelligence.