While this doesn't mean it will apply again in the future, but Microsoft and Sony have sold consoles at a loss before and make up the difference with 1 or 2 game sold per system. Then add on the money being made with Xbox Live Gold and PlayStation Plus.
I still think $399 at launch would sell much better than $499. But it depends on the specs and how much MS and Sony are willing to lose per console sold. The consoles will generally sell well the first couple months, but both need a steady stream of quality exclusives. Nintendo launching the Switch with BotW really helped, then MK8D, Splatoon 2 and Mario Odyssey over the next several months after launch helped keep the sales up.
Rumor has it that Sony is planning to take a $100 hit with a $500 pricepoint. Even with software and services It would be hard for them to take a $200 hit on every console sold if they sell the PS5 at $400 at launch.