Apple’s latest souped-up iPads, along with accessories like the Magic Keyboard and software enhancements in iPadOS, have turned the company’s tablets into bona-fide desktop and laptop replacements.