Copper and aluminium prices rebounded on Wednesday as investors bet that better-than-expected economic data from top metals consumer China foreshadowed an uptick in demand.

Three-month aluminium on the London Metal Exchange rose 0.7% to $2,589 a tonne by 0945 GMT after slipping 2.2% on Tuesday and hitting its lowest level since Nov. 10. The most-traded July aluminium contract in Shanghai ended daytime trading 0.8% lower at 19,805 yuan ($2,949.15) a tonne.

"We're seeing some of the Chinese numbers improving and I think the worst is over. We could see some volatility, but overall the broad trend is geared towards recovery," said Xiao Fu, head of commodity market strategy at Bank of China International in London. "The question is how far the rally can go. There seems to be a cap on the upside for now because of the rate hikes by global central banks and worry about slower economic growth globally."

LME copper added 0.4% to $9,264 a tonne. China's economy showed signs of recovery in May after slumping in the prior month as industrial production rose unexpectedly, while car sales jumped 54% in the week of June 6 versus the same period in May.

"The industrial production beat suggests China has become very agile at keeping the export engines revving despite mobility restrictions," said Stephen Innes, managing partner at SPI Asset Management.

China's monthly production of aluminium reached a record high in May following easing in power consumption curbs and as COVID-19-induced lockdowns had little impact on output.

Aluminium stocks in LME-registered warehouses fell to a fresh 21-year low of 416,125 tonnes, compared with nearly 2 million tonnes in March 2021. Stocks in warehouses monitored by the Shanghai Futures Exchange have dropped more than 20% since the middle of March to 269,583 tonnes.

Workers at Chilean state-owned Codelco, the world's largest copper producer, threatened on Tuesday to go on a company-wide strike due to a lack of investment at the mining firm's troubled Ventanas smelter and refinery.

LME zinc added 1.1% to $3,637.50, lead climbed 1.5% to $2,106.50, nickel advanced 1.6% to $25,655 and tin gained 2.3% to $31,820.  

(Additional reporting by Brijesh Patel in Bengaluru; Editing by Aditya Soni)