I remember Caffeine used to be a third-party program that would prevent your Mac from sleeping, same behavior as the `caffeinate` here. Were they acquired and incorporated into the OS?
Since then I've moved to Amphetamine (same purpose menu-bar app, even stronger chemicals, has timed keep-awake etc).