Legacy tech stocks are attracting investors with cheaper valuations and appealing dividend yields compared with high flying megacaps