In engineering a MS pays best, at least historically. Lately PhD's are becoming very common and much more product-oriented I'd say (as opposed to long-term high-risk research). So may be a better ticket to the upper ranks of technical tracks at large tech companies.