The serverless name is unhelpful. What these companies really mean by serverless is:
"your code that handles HTTP requests must be able to startup, run, and shutdown effectively instantly"
aka "serve your HTTP without bloated long running processes."
aka `cgi-bin` scripts.