This seems like a good opportunity for a browser company like Mozilla to offer a GDPR compliant library that is easy to integrate that automatically applies user privacy preferences instead of showing the GDPR prompt. Opensource the library, and promote it. Try to make it an open protocol so other browser can implement this.
To be real though I'm sure that many sites would not want this because they rely on GDPR fatigue and users to just accept instead of taking a few seconds to opt-out.