Meta is making a major push to expand its business beyond online advertising, but past efforts show that success is far from guaranteed.