The design of the car is only loosely related to the skateboard that contains the battery and the drivetrain.
In practice, I don't think any company is meaningfully splitting up their battery pack to take advantage of "better" packaging logistics elsewhere in the frame/body. I know in this example, they could still likely be loosely attached in the same plane, but with less density under the cabin, but I think my point holds.