There’s been no shortage of tough news for China’s economy as some of the world’s biggest brands consider or take action to shift manufacturing to friendlier shores at a time of unease about security controls, protectionism and wobbly relations between Beijing and Washington.Count Adidas, Apple and Samsung among those looking elsewhere. But as a tumultuous 2023 for the Chinese economy comes to a close, there has been at least one bright spot for Beijing when it comes to foreign investment:…