It drills down to the key challenge in the e-bike space right now, which is that effectively no-one (not even the manufacturers) does battery repair. There is no equivalent tooling, parts or manual for bike manufacturer's to provide, because the current approach is just to chuck (recycle) problem batteries.
Certainly we should be consider the safety implications, but we should probably also consider that e-bike batteries not being covered under right to repair laws will not stop people from tinkering with them - we know that because being exempted from right to repair laws represents the status quo. And the less documentation and tooling provided, the more likely that tinkering will be risky.