The original comment was trying to equate a bond to a PV system for ROI which isn't a good match, instead using a piece of equipment that you might buy for a business would be the right choice.
The value of the system doesn't drop to $0 at year 25 or 30. The warranties would have expired, but the equipment will still be operating with higher loss and if something needs to be replaced then you could just replace the inverter, optimizer, Powerwall, gateway or PV panel and continue operating.
Equipment ROI is Net Profit/Total Investment * 100%, so the
@Laketime numbers is correct $2,500/$25,000 * 100% = 10% with a payback period of 10 years. After the 10 years you would realize an additional $37,500. The system would be fully depreciated, but would still be producing power if maintained.