I imagine that they would also have a connection to the grid, so that in the case that the solar capacity is insufficient to charge the cars, they could just switch over.
Also, with net metering becoming more wide spread, they could sell back any excess electricity produced from their solar installation back to the grid, which could possibly offset some of the costs of purchasing electricity during periods of high demand.