It's the difference between voluntary surrender and confiscation.
They can't confiscate legally owned devices from anyone, citizen or not.
yes they can...if you’re coming into the US. Ever try to get something mailed from overseas? By your logic you can smuggle drugs in and espionage data.