That is not entirely true, certain real property as described in code section 179 of the tax code allows depreciation of the full value the year the property is put into service. However there is a limit, $500,000, per year. Leased solar panels happen to be one such property. Read about it here...