Mark Cuban has warned that heavy borrowing, speculative trading and rapid advances in AI could expose investors to a market bubble, although he acknowledged uncertainty over when it might burst.