Having an AI company host your source code is giving your source code to an untrustworthy agent who might break their sandbox and might use your source code to accomplish a task that they have been given in their testing ground, for testing purposes only, that would definitely positively not ever be used for non-testing purposes.
yeah - from a strict trust point of view, if Github/MSFT are training agents I would be skeptical of them.
however, there is a practicality issue too. Avoiding all untrustworthy software would have you end up living in a shack in the woods foraging for food.