Complex dynamics of a model with R&D competition