For example, if you buy a competitor's product to take it apart, replicate its components and assemble lots of knock-offs, you have some validation that the product is going to work, without having to do any costly planning and design yourself. All of that works without literally breaking into the competitor's factory to steal their equipment or their code.
For a lot of really valuable IP you won't find an open source implementation, or if you do, you won't be able to legally use it, at least as long as software patents are a thing.
https://www.bloomberg.com/news/articles/2018-01-24/chinese-f...
A Chinese wind turbine manufacturer paid a programmer working at American Superconductor to send them the source code used to run the turbines. The company shortly afterwards cancelled their contract w/ AMSC.
All of this is just anecdotal second hand evidence but wanted to answer the question :)
I've worked as a software engineer for over 12 years at over half a dozen companies, with codebases numbering in the millions of lines of code and I have yet to see any software or code I could imagine anyone would want to steal. And if you really needed some code, I'm sure it's available somewhere as open source. And wouldn't the open source code be much more preferable? rather than ripping out some piece of "stolen" code that was never meant to serve other purposes.