During a visit to Macau, China president Xi Jinping applauded the city’s ongoing shift from a gaming-centric economy.