Energy security is an increasingly important factor in foreign investment. What is considered a welcome foreign contribution now may change over time