Lightning was a very good connector when it first came around. Ever notice how the phones are showcased standing up on just the connector? Try that with micro USB.
Apple co-invented/contributed to USB-C to address their own needs, and were the first vendor to shove it down on unsuspecting Macbook users, getting rid of each and every single other kind of port.
Meanwhile they kept Lightning relevant and useful for a very long time, which I think is a good thing for a "de facto" standard. Should they have switched to USB-C earlier? Probably yes. But now is better than never (even if it's somewhat forced).