Germany has the right idea. All countries should ensure data and operational sovereignty of critical tech companies.
Then when one of them misbehaves a leaf can be taken from the American play book, and said company will simply be seized by the government and handed over to a trusted sovereign entity for operation going forward.