China's tech rally is being tested as as investors question whether AI profits can justify lofty valuations.