The US is perfectly able to give orders to US companies that may be against EU law. The GDPR may hold the company liable for that.
OpenAI Ireland Ltd, the entity that provides ChatGPT services to EU residents, is not a US company.