SAN FRANCISCO — EBay is planning a big expansion of its "connected glass" shopping technology as the company tries to make more money in the physical retail world, not just from online transactions.