Google owns Youtube (and gmail, most popular mail provider).
You should think more deeply about what ads are and what are governments motivations. It is both the same thing.
Google and META want power, they want money, because money is a voting power for allocation of resources in the society.
Chinese governments want power, so they can have more money and more voting power for allocations of their resources.
The nationality of people in these governments doesn't matter at all to them. Chinese government doesn't care about regular Chinese citizens no more then US government does about their own. They simply care for their own power/money. And that is their interests.
Google and META work with the governments, they have actual NSA offices and follow any orders from the government, just like TikTok does.
The problem here has nothing to do with what country it is in, it is simply that one set of rich folks are bothered that they can't control something other rich folks are controlling. People, in both cases, suffer and have no power whatsoever in the process.