Asian software and platform stocks have quickly gained favor with investors, emerging as the region’s most attractive AI trade after ranking near the bottom just a month ago, according to a Bank of America Corp. survey.