Mainland Chinese investors poured into Hong Kong's stock market with a record buying spree in the first quarter, chasing an artificial intelligence frenzy and seeking portfolio diversification.