That depends; what exactly do you expect such a "gravity
machine" to do?
* Any mass will exert a force of gravity.
* Artificial gravity (an imitation of gravity) can be produced
through quick spinning.
* Other types of "artificial gravity" appear in science fiction
stories, but they don't appear in current technology, and it seems
unlikely that they will be, any time soon.