Stock markets hit record highs Wednesday thanks to optimism over US trade deals, the AI sector and an expected interest-rate cut by the US Federal Reserve.