The Silicon Valley company reported double-digit revenue and profit growth for the third quarter, driven largely by advancements in its systems for advertisement targeting and suggesting relevant posts and videos to users. The improvements came from its continued investments in artificial intelligence, the company said.