Does this work?
$spread(){ $keys($): $sum($.*) }
First, it splits all objects's keys into separate arrays, then groups them based on the key and aggregates the values.
JSONata Playground: https://jsonatastudio.com/playground/8a13fa7e