It’s not like they make money off of the hardware, and their new push is in Gamepass subscriptions which people will still want.
There will of course be people who pirate, just like they do on the switch, but piracy is likely to be so small that it won’t affect Microsoft’s profits.