I haven't written up an article about it yet, but from a cursory look of the legal stuff this only affects private citizens and could be circumvented by setting up a shell company that owns your devices.
Legally, you can't surrender these devices, access to them or their passwords, as they are company property.
There's what's legal, and then there's what the border guard with a hemorrhoid flareup decides to do on the spot. One pain in the butt can cause you a lifetime of pain in the butt even if it wasn't the intent of any legislator.
Legally, you can't surrender these devices, access to them or their passwords, as they are company property.