Why do you think I might mean that?!
The fact is, if you have something valuable for hiding, and someone from a Government has an interest in that, it is highly likely that they will get their information, completely independent if you are traveling, or not!
And it is way easier, and more “comfortable” to get those informations without your knowledge, than thru an more or less open action at an Airport, where you will know, or at least could be suspicious, that they are now “having your data”.
It is the other way around, IF a Government Agency is shadowing you, you will rather pass the Boarder without any problems, unless they are already ready to arrest you, and open a trial.
Yes, they are checking electronic devices time by time (and still as far as I know) but they are looking for criminal activities, and not for some kind of “Secrets”. They are normally having software that is looking for special kinds of data like child porn or the latest receipts to build a bomb, or to cook Meth or something in that kind of way.
They also have a look to verify the information you gave them during the interview. If you were on vacation to Bavaria, but do not have any pictures from there on your phone, they will become suspicious about your given information, the same situation will made them suspicious, if the system shows you on frequent “leisure” trips with a 48h stay to Medellin very 3 weeks or so, and so on.
If you pass the border with an empty laptop or phone, and they check that, you can bet that they will do a deeper interview on you, because they are interested in finding out what you try to hide from them. So it is more than douptful, to show up there with empty, or obviously made up, devices.
And I absolut agree with you, that you could get into trouble, even if you did nothing wrong, just because of the often very poor selected and trained LEO´s specially in the USA, but also within other states with problems with the educational system, and the training of LawEnforcement. YT is full of videos about that problem.
But that does not mean, that the checks at the boarder are there, to get your private or company information’s.
This is not working, and everybody could easily see that only by the numbers. In FY 2019 CBP had 414 Mio. Travelers, but they conducted an electronic search only on 40.913 travelers. That is less than 0.1%!
So, I stay with my statement, that if you have nothing to hide, you have nothing to fear about crossing the boarder. IF they pick you for an interview for some reasons, it is way better to be able to present them an “normal” looking electronic device, instead of an erased one, or one where you propagate to not know the code, or some other rather stupid approaches. The later will for sure extend your visit with them, if you are lucky only for hours.
There are a lot of other way more dangerous situations for your data on travel, than the CBP, as @WayneG stated above already!
Oh, and BTW regarding customs controls, it is always a smart idea to have copies of the receipts for your valuables items with you, so you do not have to pay taxes for them, if you had them already at the beginning of your trip.