Trains made by Newag were programmed to brick themselves if they detected a non-Newag workshop was repairing them.
https://news.ycombinator.com/item?id=38638865
https://news.ycombinator.com/item?id=38628635
btw the best part of this story is that the train company googled "best Polish hackers", found a group who won a CTF, and this actually worked out for them
And that was correctly perceived to be illegal by antitrust regulators.