You're pessimistic. But perhaps you are not wrong to be so here.
On the other hand, this functionality would be a brilliant match for Siri, and they've been looking to move in exactly that sort of direction for some while now, as Alexa and Google Assistant have increasingly made Siri's rough edges and limitations show by comparison.
Also worthy of note is that Apple doesn't have a first-party tool in the iOS automation space. So I'm not sure what purpose you suggest it would serve to buy Workflow for the purpose of killing it.