It isn’t pointless. It is fast feedback for typos and form validation
Most typos, however, are likely to be in the first part, not in the domain. The only real way to validate against those is to try the address and see.
Otherwise, yeah, most people would be better served by a library that detects domain typos like https://github.com/mailcheck/mailcheck than spending time on regexes.