A commuter train collided with a crane in southeastern Spain on Thursday, emergency services said, in the country’s fourth rail crash in less than a week.