Top surface area of a semi trailer is around 42 square meters, given a trailer width of 102" and length of 53'. It's typical to get around 250W per square meter from PV in ideal conditions, so that's 10.5kW. It takes about 15kW to push a Tesla down the highway at 60mph, so 10.5kW is not a negligible amount. (Pushing a semi down the highway at 60mph takes a lot more because it's much heavier and has a much larger frontal area.)
So this is definitely not enough to power the vehicle going down the road, but it is enough to add significantly to its range. Again, assuming the truck is driving down the road at high noon during the summer and there are no clouds.
PV doesn't work for cars because they don't have enough surface area, but it is a reasonable idea for a semi trailer.