Which movie was it with the girl living in an apartment that turns out to be fake? Even the view and sounds were fake

Which movie was it with the girl living in an apartment that turns out to be fake? Even the view and sounds were fake

Reminds me of The Sentinel (1977)… I’m not sure.