Like I said, as you come THROUGH US Customs to enter the US.
They aren’t doing this on exit, are they?
It's the difference between voluntary surrender and confiscation.
They can't confiscate legally owned devices from anyone, citizen or not.