Federally, there is precedent that collaborative projects can be an exception to the general federal prohibition of no poach agreements. Whether that would work on California law (IIRC, the federal prohibition is an application of antitrust law, the California one is a labor protection), and whether the other aspects of the Microsoft-OpenAI agreement would fit in the exception, I don't know.