The recent end to Mexico's state oil monopoly has boosted foreign investment and created jobs.