Some thougths below, from someone relativley experienced with very heavy loads, big trailers, etc.

Yes, that's a piano.
I would like to make a bike trailer that can do quite a bit of e-bike charging (10+ kWh/day?). I have a super heavy duty Surly Bill trailer with a crate box built for this purpose.
How much weight can it carry, under the specific riding conditons you have for all of your riding?
How much load can the hitch take, under those conditions? Meaning, how much of a jerk or pull, or shove or slam, can it take from the mass of the trailer against the bike?
How much load can the bike frame take at the hitch point under those conditions?
If the loading on the hitch itself, or the mounting point to the bike, exceeds the capabilities of any part of these things, you could lose the trailer (best case) or rip the bike apart (worse case) while losing the trailer.
How much weight / load can your bikes' rear wheel handle? It's going to see some of the load on it under various conditions, and a lot of it under certain conditions.
How much braking capacity and traction does your bike have? (the trailer has no brakes of it's own, so it's all up to your bike to handle all the forces of braking as well as the actual braking).
How much does that weigh, including power conversion and current limiting / charge control electronics to get it's power into the ebike batteries?
I'd make a rough guesstimate that it's probably around 25lbs / kwh (casing, protection, waterproofing, main-pack-charging electronics, ebike-pack-charging-conversion electronics, etc). Going with that, 17kwh x 25lbs = 425lbs.
The surly bill
Bill Trailer | Large Flatbed Bike Cargo Trailer | Surly Bikes is rated for max of 300lbs.
Assuming you aren't carrying anything but the battery on it, then at that rate you could have 300lbs / 25lbs = 12kwh (actual kwh/lb of your setup will determine actual capacity you can carry).
If you need to carry your ebike's extra batteries on it , or other supplies, that weight takes away from the capacity of the recharge-system battery you can carry.