A Thai passenger train was crushed by construction cranes that slammed onto carriages, killing at least 29 people.