The easiest way to get Mega Energy is by wining raids and completing research. But, if you want to get Mega Energy exclusively for Beedrill, you will have to complete the quest of 'A Mega Discovery.'