Both of these already exist within the game.
The first object is called an Auto-Petter. Buy them from Joja for 50,000g once you have paid for all the repairs, or get them from chests on treasure floors in Skull Cavern.
The second is included once you upgrade your coops and barns twice to the Deluxe tier; the hay bench is automatically filled each day from the hopper. The hay hopper is in turn fed by a silo, which must be built separately by Robin, but silos only cost 100g each, plus a few basic materials, and a silo should be the first thing you pay Robin to build.