The PS5 can only play games that you pay Sony a tax to play. The steam machine can play any game, including those bought outside Steam and thus without paying valve a tax.
This means the PS5 is subsidised, whereas Valve hardware does not tend to be. They have confirmed that internally all divisions must be roughly profitable/break-even.