What they could do is get funding from sovereign tech funds.
I don't think the rest of the world likes their dependencies on US companies and their love for surveillance.
Of course, to do it right means ensuring there's enough non-US organizational structure with the know-how to take over the project should things go pear-shaped, and oversight to spot of the pear is taking shape.
But that's what governments can do, assuming they don't want to be under the thumb of the US. ("Oh, you think tariffs are bad? We'll do to you like we did those ICC judges and shut off all your accounts.")