As noted in other comments, Apple was part of the USB working group, contributed to USB-C, and introduced USB-C/Thunderbolt-only laptops in 2016. There was backlash against this so they have since backtracked and reintroduced MagSafe and HDMI ports. Personally I would have preferred more USB-C/Thunderbolt ports.