Mexico, poised to allow foreign oil extraction for the first time in 75 years, is finding its abundant natural resources also appeal to investors in a much cleaner energy: sunshine.