EU made bad laws that have encouraged this kind of behavior. And now we're all suffering.
Look at the CCPA in California for legislation that accomplishes largely the same goals, but doesn't break the web due to "malicious compliance".
Most of them decidedly don't have the same cookie banners. E.g. in vast majority of cases they don't prevent you from seeing content, and have an easy opt-out mechanism without dark patterns.