Smart outlet or timer to auto shut-off after 30 seconds of use
Yes - a time delay relay, available in various configurations for building industrial controls. Commonly available, but not at Home Cheapo or your local hardware store, most likely.

You would need a 30 second one and a 30 minute one for this described operation. 

Or these days you might run the whole operation with an arduino or the like and some external (normal) relays, with the arduino acting both as the "time delay" and perhaps processing other sensor inputs. If you happen to be a coder that would be the logical direction to go, TDRs are somewhat simpler to deal with if you just want to wire things together and not write code.