The last big tax breaks for solar energy are ending July 4. Some companies are already looking beyond subsidies.