The concensus seems to be this is a GPU related driver or OS bug.
Trying changing resolutions or scaling or refresh rate. 2K moniter are supposedly worse than others.
https://news.ycombinator.com/item?id=22265235
It is a joke that a high end machine has such a glaring issue. Then again, Apple got away from selling terrible terrible keyboards that were not easily replaceable for years.