I’d guess it’s buggered, I managed to knacker a crank by just riding it whilst not quite tight enough, nothing as bad as the above. Crank kept loosening after that no matter how tight I did up the pinch bolts*.
if axle splines look OK buy a new non driveside crank.
Does that crank need a pre-load cap?
If you haven’t fitted that they may come off again…. preload caps don’t keep your cranks on.
*actually I’m not 100% about this, I didn’t tighten them up to silly almost thread stripping torque, that may work for light use but I’d still worry about the above happening again at an inconvenient moment.