The first step to dealing with power-hungry people is to be aware that they are power-hungry in the first place. Then try your best not to respond to them too rapidly; try to find out their motive. They may sometimes act or do some hurtful things out of fear that they're underperforming.