who are these "companies don't want to disclose IP"?
Software startups disclose their IP whether through traditional IP protection (copyrights, trademarks, patents) - or open source. Those relying on trade secrets do not disclose their IP to investors.