Survival and extreme statistics of work, heat, and entropy production in steady-state heat engines.