You could boycott Lenovo-branded machines while not boycotting ThinkPads. As far as I know, ThinkPads have been beyond reproach. It's a valuable brand for Lenovo, and it acquired the whole IBM division, not just the name.
I managed to be a ThinkPad fanboy for decades while despising IBM ;-)