Rents and royalties from real or tangible personal property, capital gains, interest, dividends, or patent or copyright royalties, to the extent that they constitute nonbusiness income, shall be allocated as provided in Sections 25124 through 25127 of this act.