It's a gag episode.
A professor wins a science competition by creating a machine that create anything. Said machine looks like a pot with tiny arms and legs and has a face.
He demonstrates the machine by creating a pile of poop.
Things happen and they need to call Beerus to save the day. They summon him by having the machine create the most delicious treat in the universe.
It works, Beerus shows up and one shots all the problems because they're annoying and eats the treat. But nobody cleaned the machine after the pile of poop had been removed, so Beerus gets sick and flies home.
DBS gag episodes are very hit or miss.
I mean the whole episode was an homage to Dr. Slump, so what can you do. To be clear, it's not like Beerus picks up an actual pile of shit and eats it. He just gets sick and we're coyly informed of why.
I am a mighty wizard from magic lands
Yeah, but if you... man, we're getting into weird analogy territory, like if you disintegrated Superman's arms he wouldn't be able to go "fool! Little did you know that my arms and I are one and can be remade from me!" and will his arms back into being from pure nothingness. - Pendaran
Arx Inosaan
That one was a great one, imo, because it actually addressed "can DBZ characters beat a toonforcer who can casually throw planets around" and the answer was "Vegeta hates toonforcers and won't fight them because he thinks its nonsensical, Goku enjoys it and is close to even with that level in output but can't actually hurt them, and Beerus will kill them because he's sufficiently above them in power." It was basically a VS. thread animated.
Also, Arale's favorite toy is literally a poop stick, and Dr. Slump is flled to the brim with poop jokes, so that was pretty much par for the course.
Yeah I thought it was pretty good too.
I am a mighty wizard from magic lands
I never liked Dr.Slump, so I did not like the "gag" episode either.