Five Stages of AI-Driven R&D Evolution in Companies