In the span of just two weeks, Meta Platforms Inc. has gone from a market afterthought to one of its hottest stocks, as investors finally like what Facebook’s parent is saying about its artificial intelligence plans.