Apple Inc. has pulled the plug on the Mac Pro, its most powerful and expensive desktop computer, ending a product line that once defined the company’s relationship with professional creative users.