Heron of Alexandria fashioned the first known “steam engine,” though he only used it to power toys and to amuse visitors.