The set of my experience is { Shimano: [ $various_derailleurs, Nexus 3, Nexus 7, Alfine 11 ] , Rohloff: [14 speed], Other: [rear-hub e-bike] }
$various_derailleurs -- fussy to maintain, cheap to replace but costly over 10 years
Nexus 3 -- rubbish
Nexus 7 -- not bad for modest bicycling
Alfine 11 -- zero maintenance, excellent performance, cheaper over 10 years than $various_derailleurs
Rohloff -- low maintenance, expensive, built to last, and 14 speeds! But heavy and 10% efficiency loss.
e-bike -- reliable, fast and fun, but zero exercise and in the range of a Rohloff for cost
In short, I think an e-bike in 2024 is brilliant for single-mode commuting. The technology is reliable and performant... but heavy.
An Alfine 11 or Rohloff is bliss for multi-modal commuting (assuming 16" or 20" wheels).