Optimal resource exploitation may be chaotic