末 = "end / last,"
班 = "scheduled run,"
车 = "vehicle" — the last scheduled run. The figurative use
赶末班车 ("catch the last train") is extremely common in business and life-stage contexts: catching the last chance to enter a market, marry, buy a house, etc.