Facebook set to take on Amazon and Apple by building AI assistant with 'common sense'