.The social networking sites giant is devoting billions on artificial intelligence and products for virtual and enhanced reality.