This can be read as if IBM did this unknowingly and only before WW2.
But IBM knew what they were assisting with, and even pre-WW2 was already assisting the Nazi regime of 1933-1939. And they didn't stop come WW2, if anything IBM opened new subsidiaries and continued throughout the second world war.
"(...) IBM leased, rather than sold, its machines. The company retained control of punch-card supply and provided service through subsidiaries. Each set of cards was custom-designed to Nazi requirements. He later wrote that the IBM headquarters in New York oversaw these arrangements through subsidiaries across Europe"
"(...) IBM New York created a subsidiary in Poland, Watson Business Machines, after the 1939 invasion. The firm managed railway traffic in the General Government and ran a punch-card printing shop near the Warsaw Ghetto. He stated that this subsidiary reported through Geneva to IBM New York, and revenues were transferred accordingly."
It was authorized by the CEO, Thomas J. Watson Sr., who apparently had a "soft spot" for the Nazis. Hitler decorated him: https://www.nytimes.com/1937/07/02/archives/thomas-j-watson-... and it took the occupation of France and the Low Countries three years later for Watson to decide to return the medal.