On the order of 1% of the mass of average biomass like plants and animals is comprised of phosphorus. As a necessary nutrient, phosphates are used in fertilizers. Of the thousands of quadrillions of tons of earth's crustal mass, on the order of 0.1% by mass is phosphorus. Phosphorus is not running out. There exist reserve figures based on a particular cutoff for the concentration of phosphate rock in the occasional regions where it is much better than average crustal abundance, considering the economics of production in a given area compared to the competition. An example is that
here of a reserve base a few hundred times annual production, although fundamentally there are quadrillions of tons of phosphorus, millions of times more than world annual production.
The cost of U.S. phosphate production in 2006 was $850 million for 31 million tons of product, about 1 part in 15000 of the $13 trillion total economy. There's been reduced market demand for U.S. phosphate production due to competition from increasing, inexpensive production in regions such as China, which previously imported more from the U.S.
*********************
*********************
*********************
The OP article leans a bit towards hyperbole. Not all forms of solar power use solar cells (such as solar-thermal being cheapest so far in large centralized installations); some types of solar cells use vastly less indium than others or none at all; etc. Besides, current indium production is more a matter of demand in the current economic market than fundamental limits (
example). Despite the market price of indium itself having increased, the price of the best solar power has primarily been going down in recent history, although nuclear power is much less expensive per kilowatt-hour delivered.