The launch of a cheap Chinese rival to chatbots like ChatGPT has shocked the tech world and sent stock prices haywire.