Digital technology companies could reduce the carbon footprint of services like YouTube by changing how they are designed, experts say.