Meta will eliminate 600 roles in its AI division as part of an effort to streamline operations and become more agile.