Judge rejects Musk’s attempt to block OpenAI’s for-profit transition