From comments here, I suppose you could make your app cloud-based so your client app is just a UI and only your trusted backend has full access to the external API, and that sounds dystopian.
That's what these applications are already doing. The only difference is their cloud back-end is openai's API instead of something they control themselves.