Microsoft, the world's most valuable tech company, is laying off around 6,000 employees, including 122 in the Bay Area, as part of organizational changes to position the company for success.