Microsoft has announced it is shutting down LinkedIn in China as Beijing continues its crackdown on tech companies.