Apple is essentially creating all in one hybrid devices, like Microsoft Surface Tablet line up. With the rumors that Apple is switching to ARM devices for their Mac line, Apple is going for Microsoft route.
First, Apple is discrediting Stylus, then Apple created Apple Pencil. Second, Apple is discrediting mouse input on touch devices, then Apple added mice input. For years, Apple discrediting Surface line as something half-assed product that is bad for everything. Now Apple is creating the same thing.
Apple fans has claiming iPad is designed for touch input and does not need mouse input. What made Apple changed their mind? The success of Microsoft Surface line made Apple rethink.
Except they aren't. Apple continues to keep macOS and iOS/iPadOS as separate operating systems and features.
The iPad Pro doesn't come with keyboards, trackpads, or styluses by default—it's designed as a touch-first system, and MacOS remains without touch capabilities. That they are trying to unify software capabilities is less about iPads and Macs merging* and more about reducing developer friction to support all their platforms.
Apple wants to sell more iPads, which they see as the future of computing for a large audience. In order to do that, they have to make the machines viable replacements for laptops. Hence, the moves they've made. That's completely different from the thought process that brought Microsoft to its convertibles.
*On an infinite timescale, are Macs and iPads going to merge? They might. But I'm not sure how that would make Apple "copying Microsoft" if ten years down the line they arrive at a similar point via an entirely different method. I also wouldn't hold anything Apple says as an ethos in high regard; Jobs was famous for publicly and loudly ******** on Feature X as something no one would need, until Apple had created Product Y that had Feature X in it six months or a year later. If anything, Apple under Tim Cook is more consistent than Jobs, not less.