"Simply" making the turbines bigger helps quite a lot, but that requires engineering the blades and support structures. There's also a continuous improvement of the generators, and the inverters to connect them to the grid. There's also clever fluid modelling software to reduce the extent to which one turbine takes energy out of the airstream of another, and so on.
For solar cells, the onward march of silicon processing helps a lot, but this time we don't even have to reduce the feature size! One paper that sticks in my memory is the development of "reduced kerf diamond wire saws": since a "boule" of silicon is more or less a fixed cost, if you can make the cuts between wafers thinner you reduce the amount of waste material and increase the number of wafers produced.
As I recall -- there was a boom of manufacturing plants for the solar cells in China as they were forecasting a drastically growing demand. The plants came online and boosted the supply greatly before the demand was high enough, so the prices sank.
There's also apparently been a number of improvements to tooling in regards to the labor required to install solar panels that has generally lowered labor costs.
Basically both technologies have been matruring for a number of years, getting cheaper and better at the same time, so the cost per kwh drops.
On the wind side of things, the turbines have also got larger, which increases output significantly (power is proportional to the square of blade length, roughly).
We also seem to have hit a price point where there is ample capital to invest in projects of all scales. Add in the flexibility of gas to deal with varying demand and the you have a better market to invest.
http://www.windaction.org/posts/38949-dual-deaths-in-wind-tu...
[1] https://scholar.google.com/scholar?q=learning+curve+analysis... [2] https://www.energytoday.net/economics-policy/credit-renewabl...
The prices you payed 15 years ago was the prices of an exotic technology produced in small quantities. The price you pay today is a mass product.