ChatGPT-maker warns it might leave EU over planned AI law