Microsoft on Wednesday beat Wall Street sales and profit expectations, powered by sharp demand for its Teams chat and online meeting app and Xbox gaming services as the world shifted to working and playing from home because of the novel coronavirus pandemic.