China's $20 billion solar industry is avoiding loan defaults and mergers by taking aid from local governments, preserving jobs at money-losing companies such as LDK Solar Co., the world's second-biggest maker of solar cells.