Prosecutors accused Victor Rivera of enriching himself through kickbacks as he led one of the largest homeless shelter operations in New York City.