The company has invested hundreds of billions of dollars into developing artificial intelligence models, but the market’s response hasn't matched owner Mark Zuckerberg’s enthusiasm for the tech.