Vacancies in office buildings have risen across China, adding to the economic and financial drag already imposed by failures in residential real estate.