I don't know whether Sam Altman personally knew about the clause, but clearly OpenAI as an entity knew - it didn't appear out of thin air, and employees who were leaving were clearly away of it. There was even a bit of a minor hullabaloo on Twitter a week or two ago when another employee left and noted that they gave up their equity because they refused to sign the non-disparagement document.