I doubt they that close , well i guess it depends on what you call close .
Cause something like a $30 difference is $300 million for 10 million consoles .
Imo 30 dollars is close difficult to do a huge difference in power when the gap is so low. if there is a BOM difference of 100 dollars or more, this is much easier like PS4 Pro and Xbox One X.
I don't talk from a financial point of view but a technical one. Sony SSD is faster but they needed to go with less storage size, at the end they all do different compromise. The Sony controller has more innovation but the BOM is more expensive. The cooling on PS5 side is very interesting like the continous boost idea and go narrow and fast. Microsoft did not go with 20GB of RAM at 560 GB/s because it was too expensive.
Consoles are made of compromise and at the end, the consoles are close in power. The XSX is fast enough in loading and will be enough for third party title.
Now each consoles have some advantages and weakness and it is to the first party to make them sing. For a launch it is not bad on Sony side with Demon's souls. Spiderman MM is pretty good for a cross gen game.