Microsoft is investing $300 million with Barnes & Noble for a 17.6% stake in its digital e-book reader the Nook, sending the bookseller’s shares soaring in early Monday trading.