They had the foresight to include a NIC (Network Interface Card) in the XBOX, right out of the gate. It was also the first game console to include a hard disk.
The PS2 did not initially include a NIC, and Sony offered the add-on PlayStation Network Adapter in order to compete with Microsoft. In addition, Microsoft launched XBOX Live approximately four years ahead of Playstation Network.
Regarding missteps, Microsoft has experienced their share of technical hurdles [1].
Regarding financial losses, Sony has experienced the same [2].
[1] http://en.wikipedia.org/wiki/Xbox_360_technical_problems
[2] http://www.engadget.com/2009/08/25/sony-still-losing-money-o...