I don't know of a solution for the types of half-size carts common in small grocery stores, but I've seen people stash their scooters in the space below the main basket of full size carts
Could you also just put some anti-theft features on the device itself?
Is there some reason NOT to do this?
What an absurd conversation this has been.