Honestly you cannot do this on the fly in Ableton or Maschine. For those software solutions you have to do the prep work.
However you can do this in Serato, especially if you have the MCX 8000 controller, you can use the Pitch”n”Time plugin for sequencer tone adds and Serato Flip for snippets and have your way with all of that.
I am using this all the time and it is great fun.
I cannot get into more detail on the how-to, but maybe Phil someday will make a course for those Serato features 🙂