ChatGPT, created by San Francisco company OpenAI, has caused a sensation for its ability to write essays, poems or programming code on demand within seconds, sparking widespread fears of cheating or of professions becoming obsolete.