SHANGHAI—Alibaba Group founder Jack Ma made his first public appearance since October on Wednesday when he spoke to a group of teachers by video, easing concern about his unusual absence from the limelight and sending shares in the e-commerce giant surging.