How do You "Blockify" a Mesh?
Use the Re-Mesh modifier set to Blocks mode:



The Octree Depth attribute will change the size of the blocks (the Scale value gives finer control), a higher value and the more (smaller) there will be. Notice that the size of the blocks also depends on the size of your mesh, irrelevant of not applied scale, etc.