Emulators don't stop them from selling games really. That whole paranoid lock-in mentality isn't helping them. Sony started to realize that to some degree and now sometimes even sell their games on GOG.
Steam Deck basically uses Linux with open stack to run games and is selling like hot cakes.