Microsoft has warned that Chinese state-sponsored hackers are have breached its SharePoint software.