Facebook on Thursday announced that it will change its company name, reflecting the company’s growing ambitions beyond social media.