In a new tack against piracy, Microsoft Corp. will make a series of investments in the Chinese city of Hangzhou, which has promised to clamp down on illegitimate software. Microsoft will build two new technology centers and make other investments in the wealthy city on China's east coast, with the aim to establish a model city where intellectual-property rights have greater protections than elsewhere in China.