Why politicians choose Mega Projects in developing countries?
You are looking for the political economy literature on government expenditures. That is a massive literature. A starting point may be given here.

A summary of all possible reasons for so-called white elephants is difficult without a more specific question. Are you interested in corruption, asymmetric information, institutional explanations, political preferences...?