Venezuela, once an oil giant, reaches the end of an era