The social media platform plans to reallocate resources to its artificial intelligence-focused roles and strategy.