He didn't, he pulled them down:
http://i59.tinypic.com/1zybybo.jpg
The Jedi makes a motion of pulling the buildings down. He doesn't just destroy the foundations. Furthermore, he'd need to pull them onto Malgus anyway. If they'd just collapsed they wouldn't fall on him.