The "if you generated the code at work using company tools, it's owned by your employer" affirmation in the article makes no sense to me?
If computer generated code is not copyrightable, ownership cannot be reassigned either.
How is it for human developers now if the company tool is a cloud tool and not running on company servers?
It is copyrightable. A *human* can copyright code they wrote.