If by "the modern form factor" you mean the slab of glass with a virtual keyboard, sure. Good for them. (Actually, I didn't look; maybe somebody else did that first. But I'll assume you checked.) They also did a bunch of the "crossing the chasm" work, and they marketed the hell out of it.
But that is distinct from inventing the smartphone. Apple generally doesn't invent things; they let other people invent and pioneer the space, and then they come in with a consumer-focused design and marketing operation to produce luxury products and capture the high end of consumer revenue.
Good for them, and they've been richly rewarded for it. But let's not pretend that we should think like 7 year olds just so we can avoid being accurate about who invented what.