Because when you make the console you get to charge anyone who wants to publish a game for it anything you like. Microsoft made money on every pc sold with windows, but not every game sold for PC.
Same reason EA, UBIsoft and every other big publisher tried to launch their own Steam competitor. To ideally make money from someone else selling their game on their shop, but worst case just to be able to make negotiate a better deal from Valve.
Because when you make the console you get to charge anyone who wants to publish a game for it anything you like. Microsoft made money on every pc sold with windows, but not every game sold for PC.
Same reason EA, UBIsoft and every other big publisher tried to launch their own Steam competitor. To ideally make money from someone else selling their game on their shop, but worst case just to be able to make negotiate a better deal from Valve.