Building intelligence into the power grid would make electricity cheaper and more reliable. The technology-from self-monitoring power lines to giant transistors-is ready to go. But no one has an incentive to foot the bill.