Global technology stocks hit record valuations this year, fuelled by massive multi-billion-dollar investments in AI.