Hackers may have breached hundreds of companies by targeting an open source software called Ray that is used to scale AI models, cybersecurity researchers have warned.