AI-driven optimism in China has helped boost shares in Asian markets, while gold is set to extend its gains for an eighth straight week.