Blender 2.8 Eevee - Removing Ambient Occlusion from specific object?
Real time renders don't use real Ambient Occlusion, they uses SSAO - Screen Space Ambient Occlusion which is a depth based effect applied to the whole view.

As far as I know it can't be filtered or masked.

As a workaround render separate layers and combine them in post production.